aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0002-auditors.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-30 14:02:40 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-30 14:02:40 +0200
commita29f04189c8b7457ede0b3ac01222b88853325a8 (patch)
treec00400029ee53863481c2e30ffea5c275685733c /src/exchangedb/0002-auditors.sql
parentafa706914fefc90812c0bda01341e1dcfca06840 (diff)
downloadexchange-a29f04189c8b7457ede0b3ac01222b88853325a8.tar.xz
unify to TEXT instead of mixing TEXT and VARCHAR
Diffstat (limited to 'src/exchangedb/0002-auditors.sql')
-rw-r--r--src/exchangedb/0002-auditors.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/0002-auditors.sql b/src/exchangedb/0002-auditors.sql
index 32ec8446a..76e43b183 100644
--- a/src/exchangedb/0002-auditors.sql
+++ b/src/exchangedb/0002-auditors.sql
@@ -18,8 +18,8 @@
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
- ,auditor_url VARCHAR NOT NULL
+ ,auditor_name TEXT NOT NULL
+ ,auditor_url TEXT NOT NULL
,is_active BOOLEAN NOT NULL
,last_change INT8 NOT NULL
);