chore: move the server to an independent folder

This commit is contained in:
RainbowBird
2026-08-02 18:43:57 +08:00
parent 771ba3f8a7
commit 4ccde2c96e
293 changed files with 176 additions and 3020 deletions
@@ -0,0 +1,8 @@
CREATE TABLE "user_flux" (
"user_id" text PRIMARY KEY NOT NULL,
"flux" integer DEFAULT 0 NOT NULL,
"stripe_customer_id" text,
"updated_at" timestamp DEFAULT now() NOT NULL
);
--> statement-breakpoint
ALTER TABLE "user_flux" ADD CONSTRAINT "user_flux_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;