mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-13 16:16:59 +02:00
Launch phases are now off by default
This commit is contained in:
parent
7e41bd80e1
commit
c878b57171
3 changed files with 7 additions and 3 deletions
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue