mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 16:58:55 +00:00
Force cascade on delete of osu_user
This commit is contained in:
parent
6e6821510d
commit
fad84b9420
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
-- Add migration script here
|
||||
|
||||
CREATE TABLE osu_user_mode_stats (
|
||||
user_id INT NOT NULL REFERENCES osu_users (user_id),
|
||||
user_id INT NOT NULL REFERENCES osu_users (user_id) ON DELETE CASCADE,
|
||||
mode INT NOT NULL,
|
||||
pp REAL NOT NULL DEFAULT 0,
|
||||
map_length REAL NOT NULL DEFAULT 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue