How migrations work on incremental development?
How manfiest handles cases of required migrations after some iterations of development?
E.g. in some of releases I found that I need to remove one of properties and add 2 more as required w/ default values?
Is there any autogenerated or manually write option for migrations?
1 Reply
Hello @Joe Beretta,
The database uses synchronization over migrations. It means that when you deploy a new YAML with let's say a new column, it creates it when you restart your app. Removing a column will also delete it (with its content).
This approach has some drawbacks vs migrations but it is the simplest by far. This reddit conversation talks about this: https://www.reddit.com/r/typescript/comments/pp86s8/can_some_one_explain_to_me_migration_vs/
Reddit
From the typescript community on Reddit
Explore this post and more from the typescript community