init
This commit is contained in:
14
sql/issues.sql
Normal file
14
sql/issues.sql
Normal 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;
|
||||
Reference in New Issue
Block a user