Skip to content

Commit

Permalink
Removes uneeded foregin key with MyISAM
Browse files Browse the repository at this point in the history
  • Loading branch information
HWFord committed Jan 17, 2022
1 parent da79b1a commit de509b7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions maintain.class.php
Expand Up @@ -57,9 +57,7 @@ function install($plugin_version, &$errors=array())
`send_date` DATETIME,
`email_used` varchar(64),
`email_uuid` varchar(10),
PRIMARY KEY (`id`),
FOREIGN KEY(image_id) REFERENCES '.IMAGES_TABLE.'(id),
FOREIGN KEY(user_id) REFERENCES '.USERS_TABLE.'(id)
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
;');

Expand Down

0 comments on commit de509b7

Please sign in to comment.