Merge branch 'master' of git://gitorious.org/~trombonechamp/statusnet/trombonechamps-gnu-social

This commit is contained in:
Max Shinn 2010-12-25 08:02:17 -06:00
commit 4af6e0f44c

View File

@ -67,7 +67,7 @@ class GNUsocialPhotosPlugin extends Plugin
{
$schema = Schema::get();
$schema->ensureTable('GNUsocialPhoto',
array(new ColumnDef('notice_id', 'int(11)', null, false),
array(new ColumnDef('notice_id', 'int(11)', null, false, 'PRI'),
new ColumnDef('album_id', 'int(11)', null, false),
new ColumnDef('uri', 'varchar(512)', null, false),
new ColumnDef('thumb_uri', 'varchar(512)', null, false),