-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
7,682 additions
and
702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
NEXT_PUBLIC_API_ENDPOINT=http://localhost:3002 | ||
OPEN_PANEL_CLIENT_SECRET= | ||
NEXT_PUBLIC_OPEN_PANEL_CLIENT_ID= | ||
TURSO_DATABASE_URL= | ||
TURSO_AUTH_TOKEN= | ||
RESEND_API_KEY= | ||
OPENAI_API_KEY= | ||
ENCRYPTION_SECRET= | ||
UPSTASH_REDIS_REST_URL= | ||
UPSTASH_REDIS_REST_TOKEN= | ||
TRIGGER_SECRET_KEY= | ||
|
||
AI_GATEWAY_ENDPOINT_LARGE= | ||
AI_MODEL_LARGE= | ||
AI_API_KEY_LARGE= | ||
|
||
AI_GATEWAY_ENDPOINT= | ||
AI_MODEL= | ||
AI_API_KEY= | ||
|
||
# Supabase | ||
NEXT_PUBLIC_SUPABASE_URL= | ||
NEXT_PUBLIC_SUPABASE_ANON_KEY= | ||
|
||
# Database | ||
DATABASE_PRIMARY_URL= | ||
DATABASE_US_URL= | ||
DATABASE_EU_URL= | ||
DATABASE_AU_URL= | ||
DATABASE_AU_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE "users" DROP COLUMN "email_verified"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP TABLE "accounts" CASCADE;--> statement-breakpoint | ||
DROP TABLE "verifications" CASCADE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ALTER TABLE "invitations" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "invitations" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();--> statement-breakpoint | ||
ALTER TABLE "invitations" ALTER COLUMN "organization_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "invitations" ALTER COLUMN "inviter_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "members" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "members" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();--> statement-breakpoint | ||
ALTER TABLE "members" ALTER COLUMN "organization_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "members" ALTER COLUMN "user_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "organizations" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "organizations" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "project_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "organization_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "organization_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "sessions" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "sessions" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();--> statement-breakpoint | ||
ALTER TABLE "sessions" ALTER COLUMN "user_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "sessions" ALTER COLUMN "active_organization_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "project_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "organization_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "user_id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "users" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint | ||
ALTER TABLE "users" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ALTER TABLE "sessions" DISABLE ROW LEVEL SECURITY;--> statement-breakpoint | ||
DROP TABLE "sessions" CASCADE;--> statement-breakpoint | ||
ALTER TABLE "invitations" ALTER COLUMN "organization_id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "members" ALTER COLUMN "organization_id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "organizations" ALTER COLUMN "id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "organizations" ALTER COLUMN "id" DROP DEFAULT;--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "id" DROP DEFAULT;--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "project_id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "organization_id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "id" DROP DEFAULT;--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "organization_id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "project_id" SET DATA TYPE text;--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "organization_id" SET DATA TYPE text; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ALTER TABLE "members" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "organizations" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "project_settings" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "projects" ALTER COLUMN "updated_at" SET NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "translations" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "users" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint | ||
ALTER TABLE "users" ALTER COLUMN "updated_at" SET DEFAULT now(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE "organizations" DROP CONSTRAINT "organizations_slug_unique";--> statement-breakpoint | ||
DROP INDEX "slug_idx";--> statement-breakpoint | ||
ALTER TABLE "organizations" DROP COLUMN "slug"; |
Oops, something went wrong.