This commit is contained in:
@@ -351,7 +351,8 @@ func TestRoleInvitationMigrationPreservesLegacyAndRequiresExplicitMigration(t *t
|
||||
// Reconstruct the previous invitation schema in this disposable database.
|
||||
if _, err = f.store.db.Exec(`ALTER TABLE gwf_organization_invitations DROP COLUMN direct_roles_json;
|
||||
ALTER TABLE gwf_organization_invitations DROP COLUMN required_owner_role;
|
||||
DELETE FROM gamertan_web_migrations WHERE version=10`); err != nil {
|
||||
ALTER TABLE gwf_users DROP COLUMN profile_revision;
|
||||
DELETE FROM gamertan_web_migrations WHERE version>=10`); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err = f.store.RequireCurrentSchema(t.Context()); err == nil {
|
||||
|
||||
Reference in New Issue
Block a user