summaryrefslogtreecommitdiff
path: root/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
diff options
context:
space:
mode:
authorSean Corbett <sean@gnu.org>2010-09-04 17:17:52 -0400
committerSean Corbett <sean@gnu.org>2010-09-04 17:35:37 -0400
commit7e8ff72c0b9c2cd1c73537edc886e6b6208a50fb (patch)
tree36c7f123442107ac4baa7559eb356bf9fef1fb19 /plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
parent3da5dccce6cd35e58f8ee71251578c23f6839acb (diff)
Quick function to get an array of thumbnails for a gallery page.
Diffstat (limited to 'plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php')
-rw-r--r--plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php b/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
index 79da70321..f67cfec34 100644
--- a/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
+++ b/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
@@ -62,6 +62,8 @@ class GNUsocialPhotosPlugin extends Plugin
$schema = Schema::get();
$schema->ensureTable('GNUsocialPhoto',
array(new ColumnDef('notice_id', 'int(11)', null, false),
+ new ColumnDef('album_id', 'int(11)', null, false),
+ //new ColumnDef('album_name', 'varchar(30)', null, false),
new ColumnDef('uri', 'varchar(512)', null, false),
new ColumnDef('thumb_uri', 'varchar(512)', null, false)));
}