2 modify column content text comment 'update content';
5 modify column content text comment 'message content';
8 modify column bio text comment 'descriptive biography';
10 alter table user_group
11 modify column description text comment 'group description';
13 alter table file_oembed
14 add column mimetype varchar(50) comment 'mime type of resource';
18 section varchar(32) comment 'configuration section',
19 setting varchar(32) comment 'configuration setting',
20 value varchar(255) comment 'configuration value',
22 constraint primary key (section, setting)
24 ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
26 create table user_role (
28 user_id integer not null comment 'user having the role' references user (id),
29 role varchar(32) not null comment 'string representing the role',
30 created datetime not null comment 'date the role was granted',
32 constraint primary key (user_id, role)
34 ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
36 create table login_token (
37 user_id integer not null comment 'user owning this token' references user (id),
38 token char(32) not null comment 'token useable for logging in',
39 created datetime not null comment 'date this record was created',
40 modified timestamp comment 'date this record was modified',
42 constraint primary key (user_id)
43 ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;