Do you provide "migrations" for the database structure?

Issue #14 resolved
Former user created an issue

Hi

I'm running Wisemappings in Docker, it been working great, but I think a recent update has broken my install, from what I can tell, this was due to an update in the USER table.

Do you release database migrations, to add the changes to exists DBs? I love this tool by the way!

Thanks

Comments (2)

  1. CrazyGuy

    Sorry I was not logged in when posting this.

    In my case, I did a diff with the DB schemas, and came up with this:

    ALTER TABLE USER
      ADD COLUMN google_sync BOOL after locale,
      ADD COLUMN sync_code VARCHAR(255) after google_sync,
      ADD COLUMN google_token VARCHAR(255) after sync_code;
    

    Which fixed the issue… I guess I need to started add the release version to my version deployment to stop this happening unexpectedly.

  2. Log in to comment