aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1221.php
blob: 252fcaa900e3b1fc09d862cbd4eb0b06567b2aae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace Zotlabs\Update;

class _1221 {

	function run() {

		$r1 = q("ALTER table " . TQUOT . 'groups' . TQUOT . " rename to pgrp ");
		$r2 = q("ALTER table " . TQUOT . 'group_member' . TQUOT . " rename to pgrp_member ");


		if($r1 && $r2) {
			return UPDATE_SUCCESS;
		}
		return UPDATE_FAILED;

	}

}