diff options
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install.php b/install.php index f3469abc..d09cbff2 100644 --- a/install.php +++ b/install.php @@ -84,6 +84,12 @@ function tableExists($table) return false; } +function tableRename($old, $new) { + $res = Database::simpleQuery("RENAME TABLE $old TO $new", []); + return $res; +} + + function tableCreate($table, $structure, $fatalOnError = true) { if (tableExists($table)) { @@ -252,4 +258,4 @@ HERE; </html> HERE; -}
\ No newline at end of file +} |