mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 16:36:35 +00:00
Add SQL command to drop 'rules' table if it exists (#210)
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user