summaryrefslogtreecommitdiff
path: root/plugins/FeedSub/FeedSubPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FeedSub/FeedSubPlugin.php')
-rw-r--r--plugins/FeedSub/FeedSubPlugin.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/FeedSub/FeedSubPlugin.php b/plugins/FeedSub/FeedSubPlugin.php
index 857a9794d..e49e2a648 100644
--- a/plugins/FeedSub/FeedSubPlugin.php
+++ b/plugins/FeedSub/FeedSubPlugin.php
@@ -105,12 +105,11 @@ class FeedSubPlugin extends Plugin
return true;
}
- /*
- // auto increment seems to be broken
function onCheckSchema() {
+ // warning: the autoincrement doesn't seem to set.
+ // alter table feedinfo change column id id int(11) not null auto_increment;
$schema = Schema::get();
- $schema->ensureDataObject('Feedinfo');
+ $schema->ensureTable('feedinfo', Feedinfo::schemaDef());
return true;
}
- */
}