forked from GNUsocial/gnu-social
Merge branch 'master' of git://gitorious.org/~trombonechamp/statusnet/trombonechamps-gnu-social
This commit is contained in:
commit
4af6e0f44c
@ -67,7 +67,7 @@ class GNUsocialPhotosPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
$schema = Schema::get();
|
$schema = Schema::get();
|
||||||
$schema->ensureTable('GNUsocialPhoto',
|
$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('album_id', 'int(11)', null, false),
|
||||||
new ColumnDef('uri', 'varchar(512)', null, false),
|
new ColumnDef('uri', 'varchar(512)', null, false),
|
||||||
new ColumnDef('thumb_uri', 'varchar(512)', null, false),
|
new ColumnDef('thumb_uri', 'varchar(512)', null, false),
|
||||||
|
Loading…
Reference in New Issue
Block a user