There was an error while loading. Please reload this page.
1 parent d08edbc commit 8ec1c53Copy full SHA for 8ec1c53
config/db.php
@@ -2,13 +2,7 @@
2
3
return [
4
'class' => 'yii\db\Connection',
5
- 'dsn' => 'mysql:host=localhost;dbname=yii2basic',
6
- 'username' => 'root',
7
- 'password' => '',
+ 'dsn' => 'sqlite:@app/db/database.sqlite',
8
'charset' => 'utf8',
9
10
- // Schema cache options (for production environment)
11
- //'enableSchemaCache' => true,
12
- //'schemaCacheDuration' => 60,
13
- //'schemaCache' => 'cache',
14
];
db/database.sqlite
0 commit comments