mirror of
https://github.com/yanislav-igonin/micrach
synced 2025-07-01 17:01:14 +03:00
feat: add migrations table
This commit is contained in:
parent
f812166fc8
commit
105c2afc13
@ -27,3 +27,10 @@ CREATE TABLE files
|
|||||||
created_at TIMESTAMP DEFAULT NOW() NOT NULL,
|
created_at TIMESTAMP DEFAULT NOW() NOT NULL,
|
||||||
FOREIGN KEY (post_id) REFERENCES posts (id)
|
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
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user