Created
April 4, 2018 16:08
-
-
Save s884812/1a0ebd152cf4b718e21c34754a627d71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `gashapon_items` ( | |
`gashaponsid` int(11) NOT NULL, | |
`itemid` int(11) NOT NULL, | |
`chance` int(11) NOT NULL, | |
`showmsg` tinyint(1) NOT NULL DEFAULT '0', | |
`name` varchar(255) NOT NULL, | |
UNIQUE KEY `gashaponsid_itemid` (`gashaponsid`,`itemid`), | |
KEY `itemid` (`itemid`), | |
CONSTRAINT `gashapon_items_ibfk_1` FOREIGN KEY (`gashaponsid`) REFERENCES `gashapons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment