diff --git a/migrations/1-init.sql b/migrations/1-init.sql index cf4cc79..2201639 100644 --- a/migrations/1-init.sql +++ b/migrations/1-init.sql @@ -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 +) \ No newline at end of file