update database to allow large posts
This commit is contained in:
parent
c8b3557802
commit
d94a4eae8a
@ -1,2 +1,3 @@
|
|||||||
// SQL commands to update an 0.8.x version of Laconica
|
alter table notice
|
||||||
// to 0.9.x.
|
modify column content text comment 'update content';
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ create table notice (
|
|||||||
id integer auto_increment primary key comment 'unique identifier',
|
id integer auto_increment primary key comment 'unique identifier',
|
||||||
profile_id integer not null comment 'who made the update' references profile (id),
|
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',
|
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',
|
rendered text comment 'HTML version of the content',
|
||||||
url varchar(255) comment 'URL of any attachment (image, video, bookmark, whatever)',
|
url varchar(255) comment 'URL of any attachment (image, video, bookmark, whatever)',
|
||||||
created datetime not null comment 'date this record was created',
|
created datetime not null comment 'date this record was created',
|
||||||
|
Loading…
Reference in New Issue
Block a user