update database to allow large posts

This commit is contained in:
Evan Prodromou 2009-08-20 16:53:00 -04:00
parent c8b3557802
commit d94a4eae8a
2 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,3 @@
// SQL commands to update an 0.8.x version of Laconica
// to 0.9.x.
alter table notice
modify column content text comment 'update content';

View File

@ -110,7 +110,7 @@ create table notice (
id integer auto_increment primary key comment 'unique identifier',
profile_id integer not null comment 'who made the update' references profile (id),
uri varchar(255) unique key comment 'universally unique identifier, usually a tag URI',
content varchar(140) comment 'update content',
content text comment 'update content',
rendered text comment 'HTML version of the content',
url varchar(255) comment 'URL of any attachment (image, video, bookmark, whatever)',
created datetime not null comment 'date this record was created',