is_local integer default 0 /* comment 'notice was generated by a user' */,\r
source varchar(32) /* comment 'source of comment, like "web", "im", or "clientname"' */\r
\r
+\r
/* FULLTEXT(content) */\r
);\r
create index notice_profile_id_idx on notice using btree(profile_id);\r
tok char(32) not null /* comment 'identifying value' */,\r
secret char(32) not null /* comment 'secret value' */,\r
type integer not null default 0 /* comment 'request or access' */,\r
- state integer default 0 /* comment 'for requests; 0 = initial, 1 = authorized, 2 = used' */,\r
+ state integer default 0 /* comment 'for requests 0 = initial, 1 = authorized, 2 = used' */,\r
\r
created timestamp not null default CURRENT_TIMESTAMP /* comment 'date this record was created' */,\r
modified timestamp /* comment 'date this record was modified' */,\r
user_id integer not null /* comment 'user receiving the message' */ references "user" (id),\r
notice_id integer not null /* comment 'notice received' */ references notice (id),\r
created timestamp not null default CURRENT_TIMESTAMP /* comment 'date the notice was created' */,\r
- source integer default 1 /* comment 'reason it is in the inbox; 1=subscription' */,\r
+ source integer default 1 /* comment 'reason it is in the inbox: 1=subscription' */,\r
\r
primary key (user_id, notice_id)\r
);\r
mimetype varchar(50), \r
size integer, \r
title varchar(255), \r
- date integer(11), \r
- protected integer(1)\r
+ date integer, \r
+ protected integer\r
);\r
\r
create sequence file_oembed_seq;\r
title varchar(255),\r
author_name varchar(50), \r
author_url varchar(255), \r
- url varchar(255), \r
+ url varchar(255) \r
);\r
\r
create sequence file_redirection_seq;\r