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-profit_drains.sql | |
parent | afa706914fefc90812c0bda01341e1dcfca06840 (diff) | |
download | exchange-a29f04189c8b7457ede0b3ac01222b88853325a8.tar.xz |
unify to TEXT instead of mixing TEXT and VARCHAR
Diffstat (limited to 'src/exchangedb/0002-profit_drains.sql')
-rw-r--r-- | src/exchangedb/0002-profit_drains.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/0002-profit_drains.sql b/src/exchangedb/0002-profit_drains.sql index e4a9bcb1e..c4f3a7bd0 100644 --- a/src/exchangedb/0002-profit_drains.sql +++ b/src/exchangedb/0002-profit_drains.sql @@ -17,8 +17,8 @@ CREATE TABLE profit_drains (profit_drain_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE ,wtid BYTEA PRIMARY KEY CHECK (LENGTH(wtid)=32) - ,account_section VARCHAR NOT NULL - ,payto_uri VARCHAR NOT NULL + ,account_section TEXT NOT NULL + ,payto_uri TEXT NOT NULL ,trigger_date INT8 NOT NULL ,amount taler_amount NOT NULL ,master_sig BYTEA NOT NULL CHECK (LENGTH(master_sig)=64) |