Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
-> Fix database structure on new install
  • Loading branch information
NaysKutzu committed Mar 2, 2024
1 parent cfd20c4 commit 9c6ef90
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions migrate/79.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `mythicaldash_settings` CHANGE `stripe_currency` `payments_currency` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'eur';
1 change: 1 addition & 0 deletions migrate/80.sql
Original file line number Diff line number Diff line change
@@ -0,0 +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';
1 change: 1 addition & 0 deletions migrate/81.sql
Original file line number Diff line number Diff line change
@@ -0,0 +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>';
1 change: 1 addition & 0 deletions migrate/82.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `mythicaldash_settings` CHANGE `max_ports` `max_dbs` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '15';
1 change: 1 addition & 0 deletions migrate/83.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UPDATE `mythicaldash_settings` SET `version` = '3.2.1' WHERE `mythicaldash_settings`.`id` = 1;

0 comments on commit 9c6ef90

Please sign in to comment.