// For storing user-submitted flags on notices
$schema->ensureTable('user_flag_notice',
- array(new ColumnDef('notice_id', 'integer', null,
- null, 'PRI'),
- new ColumnDef('user_id', 'integer', null,
- null, 'PRI'),
+ array(new ColumnDef('notice_id', 'integer', null, null, 'PRI'),
+ new ColumnDef('user_id', 'integer', null, null, 'PRI'),
new ColumnDef('flag', 'varchar', '8'),
new ColumnDef('created', 'datetime', null,
null, 'MUL')));
// Allowable values for user_flag_notice
$schema->ensureTable('notice_flag',
- array(new ColumnDef('flag', 'varchar', '8', null, null, 'PRI'),
+ array(new ColumnDef('flag', 'varchar', '8', null, 'PRI'),
new ColumnDef('display', 'varchar', '255'),
- new ColumnDef('created', 'datetime', null,
- null, 'MUL')));
+ new ColumnDef('created', 'datetime', null, null, 'MUL')));
// For storing user-submitted flags on profiles
// Allowable values for user_flag_notice
$schema->ensureTable('profile_flag',
- array(new ColumnDef('flag', 'varchar', '8', null, null, 'PRI'),
+ array(new ColumnDef('flag', 'varchar', '8', null, 'PRI'),
new ColumnDef('display', 'varchar', '255'),
new ColumnDef('created', 'datetime', null,
null, 'MUL')));