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) );