From 450dbdd65f3f135efbcd2fa1e9e9af9d7daf5ea7 Mon Sep 17 00:00:00 2001 From: KrewsOrg Date: Thu, 2 May 2019 01:44:24 +0100 Subject: [PATCH] Pushed Updated SQL. --- sql-updates.sql | 4 ---- sqlupdates/1_16_0_TO_2_0_0.sql | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 sql-updates.sql diff --git a/sql-updates.sql b/sql-updates.sql deleted file mode 100644 index 89cebc63..00000000 --- a/sql-updates.sql +++ /dev/null @@ -1,4 +0,0 @@ -ALTER TABLE `achievements` -CHANGE COLUMN `pixels` `reward_amount` int(11) NOT NULL DEFAULT 100 AFTER `level`, -ADD COLUMN `reward_currency` int(11) NOT NULL DEFAULT 0 AFTER `level`; - diff --git a/sqlupdates/1_16_0_TO_2_0_0.sql b/sqlupdates/1_16_0_TO_2_0_0.sql index 88c13216..56e2da1c 100644 --- a/sqlupdates/1_16_0_TO_2_0_0.sql +++ b/sqlupdates/1_16_0_TO_2_0_0.sql @@ -1,6 +1,6 @@ #DATABASE UPDATE: 1.16.0 -> 2.0.0 -INSERT INTO `arcturus`.`catalog_pages`(`id`, `parent_id`, `caption_save`, `caption`, `icon_color`, `icon_image`, `visible`, `enabled`, `min_rank`, `club_only`, `order_num`, `page_layout`, `page_headline`, `page_teaser`, `page_special`, `page_text1`, `page_text2`, `page_text_details`, `page_text_teaser`, `vip_only`, `includes`, `room_id`) VALUES (null, -1, 'guilds_forum', 'Group Forums', 1, 27181, '1', '1', 1, '0', 2, 'guild_forum', 'catalog_groups_en', 'catalog_groupsteaser_en', '', 'Group Forums are here! Buy a terminal and chat to your groups!', '', 'Group Forums are here!', '', '0', '', 0); +INSERT INTO `catalog_pages`(`id`, `parent_id`, `caption_save`, `caption`, `icon_color`, `icon_image`, `visible`, `enabled`, `min_rank`, `club_only`, `order_num`, `page_layout`, `page_headline`, `page_teaser`, `page_special`, `page_text1`, `page_text2`, `page_text_details`, `page_text_teaser`, `vip_only`, `includes`, `room_id`) VALUES (null, -1, 'guilds_forum', 'Group Forums', 1, 27181, '1', '1', 1, '0', 2, 'guild_forum', 'catalog_groups_en', 'catalog_groupsteaser_en', '', 'Group Forums are here! Buy a terminal and chat to your groups!', '', 'Group Forums are here!', '', '0', '', 0); SET @page_id = LAST_INSERT_ID(); UPDATE catalog_items SET page_id = @page_id WHERE catalog_name LIKE '%guild_forum%'; UPDATE items_base SET `interaction_type` = 'guild_furni' WHERE item_name LIKE '%guild_forum%';