feat(admin): moved server build/update to full app
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m27s
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m27s
This commit is contained in:
21
migrations/0040_rainy_white_tiger.sql
Normal file
21
migrations/0040_rainy_white_tiger.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
CREATE TABLE "deployment_history" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"server_id" uuid,
|
||||
"build_number" integer NOT NULL,
|
||||
"status" text NOT NULL,
|
||||
"message" text,
|
||||
"created_at" timestamp DEFAULT now()
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE TABLE "app_stats" (
|
||||
"id" text PRIMARY KEY DEFAULT 'primary' NOT NULL,
|
||||
"current_build" integer DEFAULT 1 NOT NULL,
|
||||
"last_build_at" timestamp,
|
||||
"last_deploy_at" timestamp,
|
||||
"building" boolean DEFAULT false NOT NULL,
|
||||
"updating" boolean DEFAULT false NOT NULL,
|
||||
"last_updated" timestamp DEFAULT now(),
|
||||
"meta" jsonb DEFAULT '{}'::jsonb
|
||||
);
|
||||
--> statement-breakpoint
|
||||
DROP TABLE "stats" CASCADE;
|
||||
Reference in New Issue
Block a user