aboutsummaryrefslogtreecommitdiff
path: root/src/guff/migrations.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/guff/migrations.cr')
-rw-r--r--src/guff/migrations.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guff/migrations.cr b/src/guff/migrations.cr
index aef1f27..0894aea 100644
--- a/src/guff/migrations.cr
+++ b/src/guff/migrations.cr
@@ -78,10 +78,10 @@ module Guff
CREATE INDEX in_tags_name ON tags(name)
}, %{
CREATE TABLE post_tags (
- tag_id INTEGER NOT NULL
+ tag_id INTEGER NOT NULL
REFERENCES tags(tag_id),
- post_id INTEGER NOT NULL
+ post_id INTEGER NOT NULL
REFERENCES posts(post_id),
UNIQUE(tag_id, post_id)