mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 20:38:57 +00:00
New code, building a migration routine.
This commit is contained in:
@@ -4,13 +4,6 @@ return [
|
||||
'fetch' => PDO::FETCH_CLASS,
|
||||
'default' => 'mysql',
|
||||
'connections' => [
|
||||
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => __DIR__ . '/../database/production.sqlite',
|
||||
'prefix' => '',
|
||||
],
|
||||
|
||||
'mysql' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
@@ -21,6 +14,18 @@ return [
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
],
|
||||
// previous database, if present:
|
||||
'old-firefly' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'database' => '(previous database)',
|
||||
'username' => '',
|
||||
'password' => '',
|
||||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
],
|
||||
|
||||
],
|
||||
'migrations' => 'migrations',
|
||||
'redis' => [
|
||||
|
||||
Reference in New Issue
Block a user