Skip to content

Commit 9c6ef90

Browse files
committed
PUSH
-> Fix database structure on new install
1 parent cfd20c4 commit 9c6ef90

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

migrate/79.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `mythicaldash_settings` CHANGE `stripe_currency` `payments_currency` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'eur';

migrate/80.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `mythicaldash_settings` CHANGE `stripe_coin_per_balance` `coin_per_balance` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0.25';

migrate/81.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `mythicaldash_settings` CHANGE `bg` `bg` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'https://wallpapers.com/images/hd/minecraft-great-cave-walls-forest-hd-mm9b3bqe6qc6s96f.webp', CHANGE `ads_code` `ads_code` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '<div class=\"card bg-default shadow\"> <style> .gift-container { background-color: #ff0000; padding: 10px; border: 2px solid #333; border-radius: 10px; } .gift-image { width: 100px; height: auto; } </style> <div class=\"card-header\"> <h3 class=\"card-title mb-0\">Advertisement Title</h3> </div> <div class=\"card-body\"> <p>This is a example</p> <a href=\"https://mythicalsystems.me\"> <img src=\"\" alt=\"Gift Image\" class=\"\" /> </a> <a class=\"btn btn-primary\" href=\"https://mythicalsystems.me\">Test</a> </div> </div>';

migrate/82.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `mythicaldash_settings` CHANGE `max_ports` `max_dbs` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '15';

migrate/83.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE `mythicaldash_settings` SET `version` = '3.2.1' WHERE `mythicaldash_settings`.`id` = 1;

0 commit comments

Comments
 (0)