We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1c93e4 + c394361 commit c8f3bf1Copy full SHA for c8f3bf1
app/Migration/User.php
@@ -18,7 +18,7 @@
18
*
19
* @since 2.0
20
21
- * @Migration(20190630164222)
+ * @Migration(time=20190630164222, pool="db.pool,db1.pool")
22
*/
23
class User extends BaseMigration
24
{
app/bean.php
@@ -84,6 +84,7 @@
84
'dsn' => 'mysql:dbname=test2;host=127.0.0.1',
85
'username' => 'root',
86
'password' => 'swoft123456',
87
+ 'charset' => 'utf8mb4',
88
// 'dbSelector' => bean(DbSelector::class)
89
],
90
'db2.pool' => [
@@ -94,7 +95,8 @@
94
95
'class' => Database::class,
96
97
- 'password' => 'swoft123456'
98
+ 'password' => 'swoft123456',
99
100
101
'db3.pool' => [
102
'class' => Pool::class,
bin/swoft
100644
100755
0 commit comments