Skip to content

Commit 2365caa

Browse files
committed
replace text with varchar(512) for indexed columns
1 parent 19d45dd commit 2365caa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

legi/sql/schema.sql

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
CREATE TABLE db_meta
3-
( key char(30) primary key
3+
( key varchar(512) primary key
44
, value blob
55
);
66

@@ -27,8 +27,8 @@ CREATE TABLE textes_versions
2727
( id char(20) unique not null
2828
, nature text
2929
, titre text
30-
, titrefull char(40)
31-
, titrefull_s char(40)
30+
, titrefull text
31+
, titrefull_s varchar(512)
3232
, etat text
3333
, date_debut day
3434
, date_fin day

0 commit comments

Comments
 (0)