mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 21:57:26 +08:00
[ongeki,api] support ongeki rival
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "ongeki_user_rival" (
|
||||
"id" INTEGER NOT NULL,
|
||||
"rival_user_id" BIGINT,
|
||||
"user_id" BIGINT,
|
||||
FOREIGN KEY("user_id") REFERENCES "ongeki_user_data"("id") ON DELETE CASCADE,
|
||||
FOREIGN KEY("rival_user_id") REFERENCES "ongeki_user_data"("id") ON DELETE CASCADE,
|
||||
PRIMARY KEY("id" AUTOINCREMENT),
|
||||
CONSTRAINT "ongeki_user_rival_uq" UNIQUE("user_id","rival_user_id") ON CONFLICT REPLACE
|
||||
);
|
||||
Reference in New Issue
Block a user