Question: How do I skip generation of migration for a particular resource?
Context, I have an existing ongoing project that I want to port over to STAPLE. The project 1. has existing tables and data in production. The migrations are separately maintained using LIquibase 2. has views that combines data from multiple tables from multiple schemas.
I'd like to define the tables and views as Ash Resources. Firstly, can do? I'm assuming that i can just put the name of the view into the
table
table
element in
postgres
postgres
. Secondly, hence, how do I skip migration generation for these resources entirely? Though I would like to generate new tables Third question, do I use
postgres do table "myschema.tickets"end
postgres do table "myschema.tickets"end
OR
postgres do table "tickets" schema "myschema"end
postgres do table "tickets" schema "myschema"end
I'm gonna give the above a go anyways. Just wanna ask for pointers. And I couldn't find where I can skip migration of entire resource. Cheers!
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.