Skip to content

Commit df8f850

Browse files
committed
remove migrations related content
Signed-off-by: Howriq <[email protected]>
1 parent 853c271 commit df8f850

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

config/autoload/local.php

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,35 @@
1111

1212
$baseUrl = 'http://light.dotkernel.localhost';
1313

14+
$databases = [
15+
'default' => [
16+
'host' => 'localhost',
17+
'dbname' => 'light',
18+
'user' => 'root',
19+
'password' => '123',
20+
'port' => 3306,
21+
'driver' => 'pdo_mysql',
22+
'charset' => 'utf8mb4',
23+
'collate' => 'utf8mb4_general_ci',
24+
],
25+
// you can add more database connections into this array
26+
];
27+
1428
return [
29+
'databases' => $databases,
30+
'doctrine' => [
31+
'connection' => [
32+
'orm_default' => [
33+
'params' => $databases['default'],
34+
],
35+
],
36+
],
1537
'application' => [
1638
'url' => $baseUrl,
1739
],
18-
'routes' => [
40+
'routes' => [
1941
'page' => [
20-
'about' => 'about',
42+
'about' => 'about',
2143
'who-we-are' => 'who-we-are',
2244
],
2345
],

0 commit comments

Comments
 (0)