fog/cmd/migrate/migrations/000003_alter_posts.up.sql

3 lines
86 B
MySQL
Raw Permalink Normal View History

2024-12-30 10:02:01 +00:00
ALTER TABLE
posts
ADD CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users (id);