feat: Добавлена базовая структура приложения Home Service с бэкендом на NestJS и фронтендом на Next.js для управления событиями.
This commit is contained in:
17
backend/migrations/0000_lyrical_gabe_jones.sql
Normal file
17
backend/migrations/0000_lyrical_gabe_jones.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
CREATE TABLE "events" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"title" text NOT NULL,
|
||||
"emoji" text NOT NULL,
|
||||
"month" integer NOT NULL,
|
||||
"day" integer NOT NULL,
|
||||
"start_year" integer,
|
||||
"end_month" integer,
|
||||
"end_day" integer,
|
||||
"end_year" integer,
|
||||
"description" text,
|
||||
"color" text,
|
||||
"is_active" boolean DEFAULT true NOT NULL,
|
||||
"tags" text[],
|
||||
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
||||
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user