Skip to content

Commit 72b54fc

Browse files
committed
Add one missing foreign key constraint
1 parent b8c14b4 commit 72b54fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/migrate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ fn migrations() -> Vec<Migration> {
292292
foreign_key(20141002222431, "version_downloads", "version_id",
293293
"versions (id)"),
294294
foreign_key(20141002222432, "versions", "crate_id", "crates (id)"),
295+
foreign_key(20141002222433, "follows", "user_id", "users (id)"),
295296
];
296297
// NOTE: Generate a new id via `date +"%Y%m%d%H%M%S"`
297298

0 commit comments

Comments
 (0)