Pushed Calendar SQL.

This commit is contained in:
KrewsOrg 2019-08-01 12:14:06 +01:00
parent 3075228c2e
commit 5bce15b441

View File

@ -21,14 +21,16 @@ CREATE TABLE `items_highscore_data` (
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
); );
CREATE TABLE `voucher_history` ( DROP TABLE IF EXISTS `calendar_rewards`;
CREATE TABLE `calendar_rewards` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`voucher_id` int(11) NOT NULL, `custom_image` varchar(128) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
`user_id` int(11) NOT NULL, `credits` int(11) NOT NULL DEFAULT 0,
`timestamp` int(11) NOT NULL, `points` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`) `points_type` int(3) NOT NULL DEFAULT 0,
); `badge` varchar(25) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
`item_id` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 3 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Dynamic;
ALTER TABLE `vouchers` SET FOREIGN_KEY_CHECKS = 1;
ADD COLUMN `amount` int(11) NOT NULL DEFAULT 1,
ADD COLUMN `limit` int(11) NOT NULL DEFAULT -1;