use bigint for status_ids

This commit is contained in:
Evan Prodromou 2010-09-05 00:11:31 -04:00
parent a9bb1c7528
commit df88624d49

View File

@ -383,7 +383,7 @@ class TwitterBridgePlugin extends Plugin
$schema->ensureTable('notice_to_status', $schema->ensureTable('notice_to_status',
array(new ColumnDef('notice_id', 'integer', null, array(new ColumnDef('notice_id', 'integer', null,
false, 'PRI'), false, 'PRI'),
new ColumnDef('status_id', 'integer', null, new ColumnDef('status_id', 'bigint', null, // XXX: check for PostgreSQL
false, 'UNI'), false, 'UNI'),
new ColumnDef('created', 'datetime', null, new ColumnDef('created', 'datetime', null,
false))); false)));