16 lines
1.0 KiB
Plaintext
16 lines
1.0 KiB
Plaintext
|
2021-05-06 16:57:22 0x41f8 Error in foreign key constraint of table `account`.`if`:
|
||
|
FOREIGN KEY (statId) REFERENCES stats(id)):
|
||
|
Cannot find an index in the referenced table where the
|
||
|
referenced columns appear as the first columns, or column types
|
||
|
in the table and the referenced table do not match for constraint.
|
||
|
Note that the internal storage type of ENUM and SET changed in
|
||
|
tables created with >= InnoDB-4.1.12, and such columns in old tables
|
||
|
cannot be referenced by such columns in new tables.
|
||
|
Please refer to https://mariadb.com/kb/en/library/foreign-keys/ for correct foreign key definition.
|
||
|
Create table `account`.`if` with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY (statId) REFERENCES stats(id))'.
|
||
|
atId) REFERENCES stats(id))'.
|
||
|
.
|
||
|
.
|
||
|
nced columns appear as the first columns near 'FOREIGN KEY (statId) REFERENCES stats(id),
|
||
|
FOREIGN KEY (seasonId) REFERENCES statSeasons(id))'.
|