Add migration to make all existing users admins #770
Reference in New Issue
Block a user
Delete Branch "admin-role-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Updates the role of all existing users to
adminto make older users match the change introduced heredaf7ff8ef4As far as I know at this moment each family can only have one user, so running this should be safe.
@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+?
Ah you're right, I'm using 15.6, will upgrade. I assumed the change was due to the recent rails version change. Fixing!
@zachgoll updated