autosubscribe tinyint default 0 comment 'automatically subscribe to users who subscribe to us',
created datetime not null comment 'date this record was created',
modified timestamp comment 'date this record was modified',
-
+
index user_smsemail_idx (smsemail)
) ENGINE=MyISAM CHARACTER SET utf8 COLLATE utf8_bin;
reply_to integer comment 'notice replied to (usually a guess)' references notice (id),
is_local tinyint default 0 comment 'notice was generated by a user',
source varchar(32) comment 'source of comment, like "web", "im", or "clientname"',
-
+
index notice_profile_id_idx (profile_id),
index notice_created_idx (created),
FULLTEXT(content)
notice_id integer not null comment 'notice that is the favorite' references notice (id),
user_id integer not null comment 'user who likes this notice' references user (id),
modified timestamp not null comment 'date this record was modified',
-
+
constraint primary key (notice_id, user_id),
index fave_notice_id_idx (notice_id),
index fave_user_id_idx (user_id),
index fave_modified_idx (modified)
-
+
) ENGINE=MyISAM CHARACTER SET utf8 COLLATE utf8_bin;
-
+
/* tables for OAuth */
create table consumer (