File tree Expand file tree Collapse file tree
crates/buzz-push-gateway/migrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ ALTER TABLE push_gateway_installations
1515 DROP CONSTRAINT push_gateway_installations_app_profile_check;
1616ALTER TABLE push_gateway_installations
1717 ADD CONSTRAINT push_gateway_installations_app_profile_check
18- CHECK (app_profile = ' buzz-ios-dogfood' );
18+ CHECK (app_profile IN ( ' buzz-ios-dogfood' , ' buzz-ios-app-store ' ) );
Original file line number Diff line number Diff line change 1+ -- The internal MVP now exposes only the dogfood application profile. Retire
2+ -- dormant App Store authority before narrowing the server-owned registry.
3+ DELETE FROM push_gateway_delegations
4+ WHERE installation_id IN (
5+ SELECT id FROM push_gateway_installations
6+ WHERE app_profile = ' buzz-ios-app-store'
7+ );
8+
9+ DELETE FROM push_gateway_installations
10+ WHERE app_profile = ' buzz-ios-app-store' ;
11+
12+ ALTER TABLE push_gateway_installations
13+ DROP CONSTRAINT push_gateway_installations_app_profile_check;
14+ ALTER TABLE push_gateway_installations
15+ ADD CONSTRAINT push_gateway_installations_app_profile_check
16+ CHECK (app_profile = ' buzz-ios-dogfood' );
You can’t perform that action at this time.
0 commit comments