summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/database/updates.inc b/database/updates.inc
index b1110f2ae..b5aeea6c6 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -2071,3 +2071,19 @@ function system_update_185() {
return $ret;
}
+function system_update_186() {
+ // Make use of guid in feed items
+ $ret = array();
+ switch ($GLOBALS['db_type']) {
+ case 'mysql':
+ case 'mysqli':
+ $ret[] = update_sql("ALTER TABLE {aggregator_item} ADD guid varchar(255) AFTER timestamp ;");
+ break;
+ case 'pgsql':
+ db_add_column($ret, 'aggregator_item', 'guid', 'varchar(255)');
+ break;
+ }
+ return $ret;
+}
+
+