aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1198.php
blob: 0713bb6ce672800d0eb582579181a8154ea0b61c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

namespace Zotlabs\Update;

class _1198 {
function run() {

	if(ACTIVE_DBTYPE == DBTYPE_MYSQL) {
		$r = q("ALTER TABLE item 
			DROP INDEX item_blocked,
			DROP INDEX item_unpublished,
			DROP INDEX item_deleted,
			DROP INDEX item_delayed,
			DROP INDEX item_hidden,
			DROP INDEX item_pending_remove,
			DROP INDEX item_type
		");
	}

	return UPDATE_SUCCESS;
}


}