mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-10-23 03:13:05 +02:00
52cf3a388b
# Conflicts: # sqlupdates/3_0_0 to 3_0_1.sql
65 lines
3.2 KiB
SQL
65 lines
3.2 KiB
SQL
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('wired.place.under', '0');
|
|
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('wired.custom.enabled', '0');
|
|
|
|
INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.error.cmd_stalk.forgot_username', 'Specify the username of the Habbo you want to follow!');
|
|
|
|
-- Enable or Disable TTY in console (Default is enabled)
|
|
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('console.mode', '1');
|
|
|
|
-- Youtube Api v3 key to YoutubeManager
|
|
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('youtube.apikey', '');
|
|
|
|
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('hotel.gifts.length.max', '300');
|
|
|
|
-- ----------------------------
|
|
-- 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
|
|
);
|
|
|
|
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!');
|