]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
Merge branch 'master' of git://gitorious.org/~trombonechamp/statusnet/trombonechamps...
[quix0rs-gnu-social.git] / plugins / GNUsocialPhotos / GNUsocialPhotosPlugin.php
index 48431195571d02c43212579e7843646af907ae69..5b77475c83bddcecbf039e2f13adc7aa1d1a9aff 100644 (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),