Add SQL command to drop 'rules' table if it exists (#210)

This commit is contained in:
Bethuel Mmbaga
2024-08-06 23:53:02 +03:00
committed by GitHub
parent 5fde85d785
commit cca2f68b34

View File

@@ -68,6 +68,10 @@ DELETE FROM routes WHERE routes.account_id NOT IN (SELECT id FROM accounts);
DELETE FROM name_server_groups WHERE name_server_groups.account_id NOT IN (SELECT id FROM accounts);
```
```sql
DROP TABLE IF EXISTS rules;
```
4. Enable Postgres by updating the `management.json` file and setting the `Engine` field to `postgres` as the following example:
```json
"StoreConfig": {