Merge two databases. Migration data considerations

Hi @George,

I am moving some of my infrastructure and with that I’ve decided to merge two databases.

Any special considerations I need to take regarding the content of:

  1. wappler_migrations and wappler_migrations_lock tables
  2. .wappler/migrations folder

Or is it to just make sure no duplicate files exist(would be very rare) and change the batch number manually so the sequence makes sense from a time perspective after the merge.

yes that is about it.

the wappler_migrations and wappler_migration_locks or contain just the last migration ran by Knex.
All migration have their own timestaps and as long as they don’t have overlapping items it should be fine.

1 Like