aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1198.php
blob: d188c94f6446578038fbd2fea2b94f48a25d2586 (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;
}


}