This commit is contained in:
2025-01-05 02:50:54 +03:00
commit 0aa2d09672
19 changed files with 311 additions and 0 deletions

14
sql/issues.sql Normal file
View File

@@ -0,0 +1,14 @@
BEGIN;
-- CREATE TABLE "issues" ---------------------------------------
CREATE TABLE "public"."issues" (
"id" Serial NOT NULL,
"telegram_id" BigInt NOT NULL,
"message" Text NOT NULL,
"date" Timestamp Without Time Zone DEFAULT now() NOT NULL,
"reply" Boolean DEFAULT 'false' NOT NULL,
CONSTRAINT "unique_issues_id" UNIQUE( "id" ) );
;
-- -------------------------------------------------------------
COMMIT;