Skip Migration for a Resource
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
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
OR
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!
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 element in 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
OR
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!
