Skip to content

Commit

Permalink
Merge pull request #1360 from sakuraovq/master
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere authored Sep 13, 2020
2 parents e1c93e4 + c394361 commit c8f3bf1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Migration/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @since 2.0
*
* @Migration(20190630164222)
* @Migration(time=20190630164222, pool="db.pool,db1.pool")
*/
class User extends BaseMigration
{
Expand Down
4 changes: 3 additions & 1 deletion app/bean.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
'dsn' => 'mysql:dbname=test2;host=127.0.0.1',
'username' => 'root',
'password' => 'swoft123456',
'charset' => 'utf8mb4',
// 'dbSelector' => bean(DbSelector::class)
],
'db2.pool' => [
Expand All @@ -94,7 +95,8 @@
'class' => Database::class,
'dsn' => 'mysql:dbname=test2;host=127.0.0.1',
'username' => 'root',
'password' => 'swoft123456'
'password' => 'swoft123456',
'charset' => 'utf8mb4',
],
'db3.pool' => [
'class' => Pool::class,
Expand Down
Empty file modified bin/swoft
100644 → 100755
Empty file.

0 comments on commit c8f3bf1

Please sign in to comment.