diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-30 14:02:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-30 14:02:40 +0200 |
commit | a29f04189c8b7457ede0b3ac01222b88853325a8 (patch) | |
tree | c00400029ee53863481c2e30ffea5c275685733c /src/exchangedb/0002-policy_details.sql | |
parent | afa706914fefc90812c0bda01341e1dcfca06840 (diff) | |
download | exchange-a29f04189c8b7457ede0b3ac01222b88853325a8.tar.xz |
unify to TEXT instead of mixing TEXT and VARCHAR
Diffstat (limited to 'src/exchangedb/0002-policy_details.sql')
-rw-r--r-- | src/exchangedb/0002-policy_details.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/0002-policy_details.sql b/src/exchangedb/0002-policy_details.sql index 8c53b0dc9..bc2fced2c 100644 --- a/src/exchangedb/0002-policy_details.sql +++ b/src/exchangedb/0002-policy_details.sql @@ -19,7 +19,7 @@ CREATE TABLE policy_details (policy_details_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE ,policy_hash_code BYTEA PRIMARY KEY CHECK(LENGTH(policy_hash_code)=16) - ,policy_json VARCHAR + ,policy_json TEXT ,deadline INT8 NOT NULL ,commitment taler_amount NOT NULL ,accumulated_total taler_amount NOT NULL |