mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-17 13:07:41 +02:00
In this commit, we define the schemas and queries that are needed to implement the firewalldb's KVStores in SQL.
9 lines
277 B
SQL
9 lines
277 B
SQL
-- Drop indexes first.
|
|
DROP INDEX IF EXISTS kvstores_lookup_idx;
|
|
DROP INDEX IF EXISTS features_name_idx;
|
|
DROP INDEX IF EXISTS rules_name_idx;
|
|
|
|
-- Drop tables in reverse dependency order.
|
|
DROP TABLE IF EXISTS kvstores;
|
|
DROP TABLE IF EXISTS features;
|
|
DROP TABLE IF EXISTS rules;
|