Fix flip flopped columns

This commit is contained in:
Matthew Kilgore
2025-12-26 15:50:04 -05:00
parent 731765c36c
commit 3a77440996

View File

@@ -0,0 +1,4 @@
-- +goose Up
-- Force the role and superuser flags, previous nullable password migration (prior to v0.22.2)
-- caused them to flip-flop during migration for some users.
UPDATE users SET role = 'owner', is_superuser = 0, superuser = 0;