diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-03-04 06:45:07 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-03-04 06:45:07 -0500 |
commit | 058f7277b52bdcdb80dc3e28bf0ec93a573195a7 (patch) | |
tree | 32ca12ca4eb390396e429b1e86fd79de614f2551 /Zotlabs/Update/_1207.php | |
parent | 39fe80a196ee626dda15b5b844dd1d05893f7646 (diff) | |
parent | 471c3c4d068d1c6d4e149098d400d792fb3550a6 (diff) | |
download | volse-hubzilla-058f7277b52bdcdb80dc3e28bf0ec93a573195a7.tar.gz volse-hubzilla-058f7277b52bdcdb80dc3e28bf0ec93a573195a7.tar.bz2 volse-hubzilla-058f7277b52bdcdb80dc3e28bf0ec93a573195a7.zip |
Merge branch 'dev' into oauth2
Diffstat (limited to 'Zotlabs/Update/_1207.php')
-rw-r--r-- | Zotlabs/Update/_1207.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1207.php b/Zotlabs/Update/_1207.php new file mode 100644 index 000000000..f53bc46ae --- /dev/null +++ b/Zotlabs/Update/_1207.php @@ -0,0 +1,24 @@ +<?php + +namespace Zotlabs\Update; + +class _1207 { + + function run() { + + if(ACTIVE_DBTYPE == DBTYPE_MYSQL) { + $r = q("ALTER TABLE item + DROP INDEX resource_type + "); + + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; + } + else { + return UPDATE_SUCCESS; + } + + } + +} |