Skip to content

Commit

Permalink
Update README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Jan 4, 2024
1 parent 1efac2e commit 450161c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ declare(strict_types=1);

use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Sqlite\Connection as SqliteConnection;
use Yiisoft\Db\Sqlite\Driver;

/**
* config ConnectionInterface::class
Expand All @@ -64,8 +65,8 @@ return [
ConnectionInterface::class => [
'class' => SqliteConnection::class,
'__construct()' => [
'dsn' => $params['yiisoft/db-sqlite']['dsn'],
]
'driver' => new Driver($params['yiisoft/db-sqlite']['dsn']),
],
]
];
```
Expand Down Expand Up @@ -145,6 +146,7 @@ declare(strict_types=1);
use Yiisoft\ActiveRecord\ActiveRecordFactory;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Sqlite\Connection as SqliteConnection;
use Yiisoft\Db\Sqlite\Driver;
use Yiisoft\Definitions\Reference;

/**
Expand All @@ -154,8 +156,8 @@ return [
SqliteConnection::class => [
'class' => SqliteConnection::class,
'__construct()' => [
'dsn' => $params['yiisoft/db-sqlite']['dsn'],
]
'driver' => new Driver($params['yiisoft/db-sqlite']['dsn']),
],
],

ActiveRecordFactory::class => [
Expand Down

0 comments on commit 450161c

Please sign in to comment.