diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-08-11 09:25:13 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-08-11 09:25:13 +1200 |
commit | 002cc755b2a521486b0216e2d6f8a3952bda0bae (patch) | |
tree | 2ac330eec7f5f177bc5530a57f82c9504b8d95da /db/laconica_pg.sql | |
parent | 91399d89dd6f1bd4447690fc6e87c2ffba81f2b4 (diff) |
change file.url to from a varchar(255) to varchar(2047)
because urls get translated from tinyurl.com etc into their originals before saving
and urls can be that long
Diffstat (limited to 'db/laconica_pg.sql')
-rw-r--r-- | db/laconica_pg.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql index b5626d3f4..59300c8ca 100644 --- a/db/laconica_pg.sql +++ b/db/laconica_pg.sql @@ -450,7 +450,7 @@ create index group_inbox_created_idx on group_inbox using btree(created); create sequence file_seq; create table file ( id bigint default nextval('file_seq') primary key /* comment 'unique identifier' */, - url varchar(255) unique, + url varchar(2047) unique, mimetype varchar(50), size integer, title varchar(255), |