diff --git a/database/registry.mariadb.sql b/database/registry.mariadb.sql index 87aff51..bcb0ea1 100644 --- a/database/registry.mariadb.sql +++ b/database/registry.mariadb.sql @@ -921,7 +921,7 @@ INSERT INTO `registry`.`settings` (`name`, `value`) VALUES ('phone', '+123456789'), ('handle', 'RXX'), ('email', 'contact@example.com'), -('launch_phases', 'on'), +('launch_phases', NULL), ('whois_server', 'whois.example.com'), ('rdap_server', 'https://rdap.example.com'), ('currency', 'USD'); diff --git a/database/registry.postgres.sql b/database/registry.postgres.sql index 388b493..62054e4 100644 --- a/database/registry.postgres.sql +++ b/database/registry.postgres.sql @@ -849,7 +849,7 @@ INSERT INTO settings (name, value) VALUES ('phone', '+123456789'), ('handle', 'RXX'), ('email', 'contact@example.com'), -('launch_phases', 'on'), +('launch_phases', NULL), ('whois_server', 'whois.example.com'), ('rdap_server', 'https://rdap.example.com'), ('currency', 'USD'); diff --git a/docs/upgrade.md b/docs/upgrade.md index 27fec83..afbbcdb 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -39,13 +39,17 @@ mysql -u your_username -p 2. Update `registrar` Table: ```sql -USE your_database_name; +USE registry; ALTER TABLE registrar CHANGE COLUMN `vat_number` `vatNumber` varchar(30) DEFAULT NULL, ADD COLUMN `companyNumber` varchar(30) DEFAULT NULL BEFORE `vatNumber`; + +UPDATE settings SET value = NULL WHERE name = 'launch_phases'; ``` +**Warning: If you have already activated the database audit feature, you will need to update the respective audit table to reflect these changes as well.** + ## Step 4: Update Configuration Files 1. Add `minimal_data` Setting in `config.php`/`.env` Files: