diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-27 21:21:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-27 21:21:04 +0100 |
commit | cf2e37cd876651e799893e8fe5babb51a9e12dd7 (patch) | |
tree | 437047cc646fb1a3a86f4226fd5460bbe2b0c530 /src/exchangedb/0002-auditors.sql | |
parent | f2ba02aab2b9bbd976107ecc4ac7e7d657a9d73a (diff) |
more work on SQL refactoring
Diffstat (limited to 'src/exchangedb/0002-auditors.sql')
-rw-r--r-- | src/exchangedb/0002-auditors.sql | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/exchangedb/0002-auditors.sql b/src/exchangedb/0002-auditors.sql index 3c18eef86..32ec8446a 100644 --- a/src/exchangedb/0002-auditors.sql +++ b/src/exchangedb/0002-auditors.sql @@ -15,7 +15,7 @@ -- -CREATE TABLE IF NOT EXISTS auditors +CREATE TABLE auditors (auditor_uuid BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE ,auditor_pub BYTEA PRIMARY KEY CHECK (LENGTH(auditor_pub)=32) ,auditor_name VARCHAR NOT NULL @@ -33,17 +33,3 @@ COMMENT ON COLUMN auditors.is_active IS 'true if we are currently supporting the use of this auditor.'; COMMENT ON COLUMN auditors.last_change IS 'Latest time when active status changed. Used to detect replays of old messages.'; - - -INSERT INTO exchange_tables - (name - ,version - ,action - ,partitioned - ,by_range) - VALUES - ('auditors' - ,'exchange-0001' - ,'create' - ,FALSE - ,FALSE); |