mysql_schema: because of rename of the tables the key has to be updated:wq
This commit is contained in:
parent
7564989981
commit
60f563959d
|
@ -17,8 +17,8 @@ CREATE TABLE import_row_modifier_settings (
|
|||
modifier_id INT UNSIGNED NOT NULL,
|
||||
settings_name VARCHAR(64) NOT NULL,
|
||||
settings_value TEXT DEFAULT NULL,
|
||||
PRIMARY KEY (modifier_id, param_name),
|
||||
CONSTRAINT sync_modifier_param_modifier
|
||||
PRIMARY KEY (modifier_id, settings_name),
|
||||
CONSTRAINT sync_modifier_settings_modifier
|
||||
FOREIGN KEY modifier (modifier_id)
|
||||
REFERENCES sync_modifier (id)
|
||||
ON DELETE CASCADE
|
||||
|
|
|
@ -4,7 +4,7 @@ CREATE TABLE import_row_modifier_setting (
|
|||
modifier_id INT UNSIGNED NOT NULL,
|
||||
setting_name VARCHAR(64) NOT NULL,
|
||||
setting_value TEXT DEFAULT NULL,
|
||||
PRIMARY KEY (modifier_id, param_name),
|
||||
PRIMARY KEY (modifier_id, setting_name),
|
||||
CONSTRAINT sync_modifier_param_modifier
|
||||
FOREIGN KEY modifier (modifier_id)
|
||||
REFERENCES sync_modifier (id)
|
||||
|
|
Loading…
Reference in New Issue