mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-14 23:21:19 +00:00
12 lines
No EOL
468 B
SQL
12 lines
No EOL
468 B
SQL
CREATE TABLE "organization" (
|
|
"id" text PRIMARY KEY NOT NULL,
|
|
"stripe_customer_id" text,
|
|
"stripe_subscription_id" text,
|
|
"stripe_subscription_price_id" text,
|
|
"stripe_subscription_status" text,
|
|
"stripe_subscription_current_period_end" bigint,
|
|
"updated_at" timestamp DEFAULT now() NOT NULL,
|
|
"created_at" timestamp DEFAULT now() NOT NULL
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE UNIQUE INDEX "stripe_customer_id_idx" ON "organization" USING btree ("stripe_customer_id"); |