Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: change line order

d-bytebase9ecc837a9acb
diff --git a/backend/migrator/migration/prod/2.15/0004##activity_resource.sql b/backend/migrator/migration/prod/2.15/0004##activity_resource.sql
index 9d51367b85..88260751c1 100644
--- a/backend/migrator/migration/prod/2.15/0004##activity_resource.sql
+++ b/backend/migrator/migration/prod/2.15/0004##activity_resource.sql
@@ -1,3 +1,3 @@
+UPDATE activity SET resource_container = '' WHERE resource_container IS NULL;
ALTER TABLE activity ALTER resource_container SET DEFAULT '';
ALTER TABLE activity ALTER resource_container SET NOT NULL;
-UPDATE activity SET resource_container = '' WHERE resource_container IS NULL;