diff options
Diffstat (limited to 'src/exchangedb/0002-signkey_revocations.sql')
-rw-r--r-- | src/exchangedb/0002-signkey_revocations.sql | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/exchangedb/0002-signkey_revocations.sql b/src/exchangedb/0002-signkey_revocations.sql index 8e8b0a814..37ab32c67 100644 --- a/src/exchangedb/0002-signkey_revocations.sql +++ b/src/exchangedb/0002-signkey_revocations.sql @@ -14,24 +14,10 @@ -- TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> -- -CREATE TABLE IF NOT EXISTS signkey_revocations +CREATE TABLE signkey_revocations (signkey_revocations_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE ,esk_serial INT8 PRIMARY KEY REFERENCES exchange_sign_keys (esk_serial) ON DELETE CASCADE ,master_sig BYTEA NOT NULL CHECK (LENGTH(master_sig)=64) ); COMMENT ON TABLE signkey_revocations IS 'Table storing which online signing keys have been revoked'; - - -INSERT INTO exchange_tables - (name - ,version - ,action - ,partitioned - ,by_range) - VALUES - ('signkey_revocations' - ,'exchange-0002' - ,'create' - ,FALSE - ,FALSE); |