Launch phases are now off by default

This commit is contained in:
Pinga 2024-07-26 13:49:41 +03:00
parent 7e41bd80e1
commit c878b57171
3 changed files with 7 additions and 3 deletions

View file

@ -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');

View file

@ -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');

View file

@ -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: