fog/cmd/migrate/migrations/000003_alter_posts.up.sql
2024-12-30 10:02:01 +00:00

3 lines
No EOL
86 B
SQL

ALTER TABLE
posts
ADD CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users (id);