Skip to content

Commit

Permalink
replace text with varchar(512) for indexed columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Mar 7, 2017
1 parent 19d45dd commit 2365caa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions legi/sql/schema.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

CREATE TABLE db_meta
( key char(30) primary key
( key varchar(512) primary key
, value blob
);

Expand All @@ -27,8 +27,8 @@ CREATE TABLE textes_versions
( id char(20) unique not null
, nature text
, titre text
, titrefull char(40)
, titrefull_s char(40)
, titrefull text
, titrefull_s varchar(512)
, etat text
, date_debut day
, date_fin day
Expand Down

0 comments on commit 2365caa

Please sign in to comment.