mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 01:50:50 +01:00
Update 3_0_0 to 3_0_1.sql
This commit is contained in:
parent
a778054241
commit
4e1c240db4
@ -5,3 +5,55 @@ INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.error.cmd_stalk.
|
|||||||
|
|
||||||
-- Enable or Disable TTY in console (Default is enabled)
|
-- Enable or Disable TTY in console (Default is enabled)
|
||||||
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('console.mode', '1');
|
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('console.mode', '1');
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for calendar_campaigns
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `calendar_campaigns`;
|
||||||
|
CREATE TABLE `calendar_campaigns` (
|
||||||
|
`id` int NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(255) NOT NULL DEFAULT '',
|
||||||
|
`image` varchar(255) NOT NULL DEFAULT '',
|
||||||
|
`start_timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||||
|
`total_days` int NOT NULL DEFAULT '30',
|
||||||
|
`lock_expired` enum('1','0') NOT NULL DEFAULT '1',
|
||||||
|
`enabled` enum('1','0') NOT NULL DEFAULT '1',
|
||||||
|
UNIQUE KEY `id` (`id`)
|
||||||
|
);
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of calendar_campaigns
|
||||||
|
-- ----------------------------
|
||||||
|
INSERT INTO `calendar_campaigns` VALUES ('1', 'test', '', '2022-02-09 16:49:13', '31', '1', '1');
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for calendar_rewards
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `calendar_rewards`;
|
||||||
|
CREATE TABLE `calendar_rewards` (
|
||||||
|
`id` int NOT NULL AUTO_INCREMENT,
|
||||||
|
`campaign_id` int NOT NULL DEFAULT '0',
|
||||||
|
`product_name` varchar(128) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
|
||||||
|
`custom_image` varchar(128) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
|
||||||
|
`credits` int NOT NULL DEFAULT '0',
|
||||||
|
`pixels` int NOT NULL DEFAULT '0',
|
||||||
|
`points` int NOT NULL DEFAULT '0',
|
||||||
|
`points_type` int NOT NULL DEFAULT '0',
|
||||||
|
`badge` varchar(25) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
|
||||||
|
`item_id` int NOT NULL DEFAULT '0',
|
||||||
|
`subscription_type` enum('HABBO_CLUB') CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
|
||||||
|
`subscription_type` varchar(128) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
|
||||||
|
`subscription_days` int NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
);
|
||||||
|
@ -92,11 +92,12 @@
|
||||||
|
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('hotel.calendar.default', 'test');
|
||||||
|
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('hotel.calendar.pixels.hc_modifier', '2.0');
|
||||||
|
|
||||||
|
-- Calendar force open
|
||||||
|
ALTER TABLE `permissions` ADD COLUMN `acc_calendar_force` enum('0','1') NULL DEFAULT '0';
|
||||||
|
|
||||||
|
-- UpdateCalendar command.
|
||||||
|
ALTER TABLE `permissions` ADD `cmd_update_calendar` ENUM('0', '1') NOT NULL DEFAULT '0';
|
||||||
|
INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.description.cmd_update_calendar', ':update_calendar'), ('commands.keys.cmd_update_calendar', 'update_calendar');
|
||||||
|
INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.success.cmd_update_calendar', 'Calendar updated successfully!');
|
Loading…
Reference in New Issue
Block a user