Cheetah
upgrade
files
1.0.0-1.1.0
script.php
Go to the documentation of this file.
1
<?
php
2
3
/*
4
if ($this->oDb->isFieldExists('RayMp3Files', 'Uri'))
5
$this->oDb->res("ALTER TABLE `RayMp3Files` DROP INDEX `Uri`");
6
7
$this->oDb->res("ALTER TABLE `RayMp3Files` ADD UNIQUE (`Uri`)");
8
9
10
if ($this->oDb->isFieldExists('RayVideoFiles', 'Uri'))
11
$this->oDb->res("ALTER TABLE `RayVideoFiles` DROP INDEX `Uri`");
12
13
$this->oDb->res("ALTER TABLE `RayVideoFiles` ADD UNIQUE (`Uri`)");
14
15
16
if ($this->oDb->isFieldExists('RayVideo_commentsFiles', 'Uri'))
17
$this->oDb->res("ALTER TABLE `RayVideo_commentsFiles` DROP INDEX `Uri`");
18
19
$this->oDb->res("ALTER TABLE `RayVideo_commentsFiles` ADD UNIQUE (`Uri`)");
20
*/
21
22
return
true
;
php
Generated by
1.8.20