mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-28 16:24:42 +02:00
update 4.6.0
This commit is contained in:
parent
c862c0a6fa
commit
fd8b431f55
@ -15,7 +15,7 @@ print '[2/3] Updating APIkey table...' . PHP_EOL;
|
|||||||
if ($mysql->query("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'apikey' AND COLUMN_NAME = 'type'")->num_rows == 0) {
|
if ($mysql->query("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'apikey' AND COLUMN_NAME = 'type'")->num_rows == 0) {
|
||||||
$mysql->query("ALTER TABLE apikey ADD type varchar(191)");
|
$mysql->query("ALTER TABLE apikey ADD type varchar(191)");
|
||||||
} else {
|
} else {
|
||||||
print 'type column already exists' . PHP_EOL;
|
print 'type column already exists' . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update Log table
|
// Update Log table
|
||||||
|
Loading…
x
Reference in New Issue
Block a user