From: Evan Prodromou Date: Thu, 20 Aug 2009 20:53:00 +0000 (-0400) Subject: update database to allow large posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d94a4eae8a68014c2f78ede52364d410c274cbbf;p=quix0rs-gnu-social.git update database to allow large posts --- diff --git a/db/08to09.sql b/db/08to09.sql index 892df4a39f..e8518a98dd 100644 --- a/db/08to09.sql +++ b/db/08to09.sql @@ -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'; + diff --git a/db/laconica.sql b/db/laconica.sql index f011071760..8a1027d489 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -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',