2
2
Fork 3

Fix issue with SQLite setup

Dieser Commit ist enthalten in:
Simon Vieille 2018-08-20 12:30:33 +02:00
Ursprung 9059fe214b
Commit 418d150833
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 919533E2B946EA10
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -2,7 +2,7 @@ propel:
database:
connections:
default:
adapter: mysql
adapter: sqlite
classname: Propel\Runtime\Connection\ConnectionWrapper
dsn: "sqlite:DATABASE_PATH"
user: ~
@ -10,7 +10,6 @@ propel:
settings:
charset: utf8
queries:
utf8: "SET NAMES utf8 COLLATE utf8_unicode_ci, COLLATION_CONNECTION = utf8_unicode_ci, COLLATION_DATABASE = utf8_unicode_ci, COLLATION_SERVER = utf8_unicode_ci"
paths:
projectDir: src/

Datei anzeigen

@ -65,7 +65,7 @@ class PostInstallHandler
$question = new Question('Password: [] ', '');
$substitutions['DATABASE_PASSWORD'] = $helper->ask($input, $output, $question);
} elseif ($dbms === 'SQLite') {
$defaultPath = getcwd().'/app/data/gist.sqlite';
$defaultPath = getcwd().'/data/gist.sqlite';
$question = new Question("Ok! Where do you want me to save datas? [$defaultPath] ", $defaultPath);
$substitutions['DATABASE_PATH'] = $helper->ask($input, $output, $question);
$templateName = 'propel.yaml.dist-sqlite';