Skip to content

Commit a62f7f4

Browse files
committed
feat: owner as root authority via DID, migrate all ownerId from UUID to DID
1 parent f9184e3 commit a62f7f4

14 files changed

Lines changed: 1340 additions & 118 deletions

File tree

bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ services:
179179
- "${SYNC_SERVER_PORT:-3002}:3002"
180180
environment:
181181
PORT: 3002
182-
DATABASE_URL: postgresql://postgres:postgres@db:5432/postgres
182+
DATABASE_URL: postgresql://supabase_admin:postgres@db:5432/postgres
183183
SUPABASE_URL: http://kong:8000
184184
SUPABASE_PUBLIC_URL: http://localhost:${KONG_HTTP_PORT:-8000}
185185
SUPABASE_ANON_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE "spaces" DROP CONSTRAINT "spaces_owner_id_users_id_fk";
2+
--> statement-breakpoint
3+
ALTER TABLE "spaces" ALTER COLUMN "owner_id" SET DATA TYPE text;

0 commit comments

Comments
 (0)