allow unlimited text in messages in DB
This commit is contained in:
parent
d213a8cf90
commit
4ac0fe009f
|
@ -1,3 +1,6 @@
|
||||||
alter table notice
|
alter table notice
|
||||||
modify column content text comment 'update content';
|
modify column content text comment 'update content';
|
||||||
|
|
||||||
|
alter table message
|
||||||
|
modify column content text comment 'message content';
|
||||||
|
|
||||||
|
|
|
@ -331,7 +331,7 @@ create table message (
|
||||||
uri varchar(255) unique key comment 'universally unique identifier',
|
uri varchar(255) unique key comment 'universally unique identifier',
|
||||||
from_profile integer not null comment 'who the message is from' references profile (id),
|
from_profile integer not null comment 'who the message is from' references profile (id),
|
||||||
to_profile integer not null comment 'who the message is to' references profile (id),
|
to_profile integer not null comment 'who the message is to' references profile (id),
|
||||||
content varchar(140) comment 'message content',
|
content text comment 'message 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