📦 (mvc) switch to zf1s zf1
This commit is contained in:
parent
6f7c2f2cc9
commit
cc1f3c62e6
7 changed files with 1684 additions and 67 deletions
|
@ -127,7 +127,7 @@ class DatabaseSetup extends Setup {
|
|||
*/
|
||||
private function createDatabase() {
|
||||
$statement = self::$dbh->prepare("CREATE DATABASE " . pg_escape_string(self::$_properties["dbname"])
|
||||
. " WITH ENCODING 'UTF8' TEMPLATE template0"
|
||||
. " WITH ENCODING 'UNICODE' TEMPLATE template0"
|
||||
. " OWNER " . pg_escape_string(self::$_properties["dbuser"]));
|
||||
if (!$statement->execute()) {
|
||||
throw new AirtimeDatabaseException("There was an error creating the database!",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue