mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
m;wemklw
This commit is contained in:
parent
8b835ee8fc
commit
1c2b8b83f1
@ -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)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user