feat: rename migration

This commit is contained in:
Yanislav Igonin 2021-10-17 11:11:52 +03:00
parent 993ca5e614
commit b3d9bcb9cb
2 changed files with 2 additions and 6 deletions

View File

@ -0,0 +1,2 @@
DROP TABLE files;
DROP TABLE posts;

View File

@ -31,9 +31,3 @@ CREATE TABLE files
created_at TIMESTAMP DEFAULT NOW() NOT NULL,
FOREIGN KEY (post_id) REFERENCES posts (id)
);
-- DOWN
DROP TABLE files;
DROP TABLE posts;