3 lines
86 B
MySQL
3 lines
86 B
MySQL
|
ALTER TABLE
|
||
|
posts
|
||
|
ADD CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users (id);
|