feat: add migrations table

This commit is contained in:
Yanislav Igonin 2021-11-16 12:38:30 +02:00
parent f812166fc8
commit 105c2afc13

View File

@ -27,3 +27,10 @@ CREATE TABLE files
created_at TIMESTAMP DEFAULT NOW() NOT NULL,
FOREIGN KEY (post_id) REFERENCES posts (id)
);
CREATE TABLE migrations
(
id INT NOT NULL,
name VARCHAR NOT NULL,
created_at TIMESTAMP DEFAULT NOW() NOT NULL
)