Add migration to make all existing users admins #770

Merged
jakubkottnauer merged 1 commits from admin-role-migration into main 2024-05-20 23:33:19 +08:00
jakubkottnauer commented 2024-05-20 13:54:19 +08:00 (Migrated from github.com)

Updates the role of all existing users to admin to make older users match the change introduced here daf7ff8ef4

As far as I know at this moment each family can only have one user, so running this should be safe.

Updates the role of all existing users to `admin` to make older users match the change introduced here https://github.com/maybe-finance/maybe/commit/daf7ff8ef4da8718a1038f4c679539f2305195f2 As far as I know at this moment each family can only have one user, so running this should be safe.
zachgoll commented 2024-05-20 21:56:49 +08:00 (Migrated from github.com)

@jakubkottnauer would you mind removing the unrelated schema change for the virtual column? I think this may be happening due to your local Postgres version. Are you running v16+?

@jakubkottnauer would you mind removing the unrelated schema change for the virtual column? I think this may be happening due to your local Postgres version. Are you running v16+?
jakubkottnauer commented 2024-05-20 23:05:22 +08:00 (Migrated from github.com)

Ah you're right, I'm using 15.6, will upgrade. I assumed the change was due to the recent rails version change. Fixing!

Ah you're right, I'm using 15.6, will upgrade. I assumed the change was due to the recent rails version change. Fixing!
jakubkottnauer commented 2024-05-20 23:08:30 +08:00 (Migrated from github.com)

@zachgoll updated

@zachgoll updated
Sign in to join this conversation.