From 1c2b8b83f1b87c7e649bc1c38543551fccfa5bfc Mon Sep 17 00:00:00 2001 From: Yanislav Igonin Date: Mon, 30 Aug 2021 10:03:14 +0300 Subject: [PATCH] m;wemklw --- migrations/1-init.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/1-init.sql b/migrations/1-init.sql index 5635596..b67dcd2 100644 --- a/migrations/1-init.sql +++ b/migrations/1-init.sql @@ -28,10 +28,10 @@ CREATE TABLE files ( id SERIAL PRIMARY KEY, post_id INTEGER NOT NULL, - created_at TIMESTAMP DEFAULT NOW() NOT NULL, name VARCHAR NOT NULL, ext VARCHAR NOT NULL, size INTEGER NOT NULL, + created_at TIMESTAMP DEFAULT NOW() NOT NULL, FOREIGN KEY (post_id) REFERENCES posts (id) );