Skip to content

Commit

Permalink
πŸ› Fixed bug when running SQL migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
lhbelfanti committed Dec 30, 2024
1 parent 2b60ea3 commit de189a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/007_create_categorized_tweets_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS categorized_tweets (
user_id INTEGER NOT NULL,
adverse_behavior BOOLEAN NOT NULL,

CONSTRAINT fk_tweet_id FOREIGN KEY(tweet_id) REFERENCES tweets(id),
CONSTRAINT fk_tweet_id FOREIGN KEY(tweet_id) REFERENCES tweets(uuid),
CONSTRAINT fk_user_id FOREIGN KEY(user_id) REFERENCES users(id)
);

Expand Down

0 comments on commit de189a8

Please sign in to comment.