diff --git a/apps/dokploy/drizzle/0094_numerous_carmella_unuscione.sql b/apps/dokploy/drizzle/0094_numerous_carmella_unuscione.sql index 5f259a44..216c4318 100644 --- a/apps/dokploy/drizzle/0094_numerous_carmella_unuscione.sql +++ b/apps/dokploy/drizzle/0094_numerous_carmella_unuscione.sql @@ -1,12 +1,11 @@ ALTER TABLE "git_provider" ADD COLUMN "userId" text;--> statement-breakpoint -- Update existing git providers to be owned by the organization owner --- We need to get the account.user_id for the organization owner +-- We can get the owner_id directly from the organization table UPDATE "git_provider" SET "userId" = ( - SELECT a.user_id + SELECT o."owner_id" FROM "organization" o - JOIN "account" a ON o."owner_id" = a.user_id WHERE o.id = "git_provider"."organizationId" );--> statement-breakpoint diff --git a/apps/dokploy/package.json b/apps/dokploy/package.json index dd35e837..fbb833fc 100644 --- a/apps/dokploy/package.json +++ b/apps/dokploy/package.json @@ -1,6 +1,6 @@ { "name": "dokploy", - "version": "v0.23.0", + "version": "v0.23.1", "private": true, "license": "Apache-2.0", "type": "module",