Most of this is just gpt slop
This commit is contained in:
parent
9213ca6df6
commit
57afb8862d
12 changed files with 600 additions and 0 deletions
22
src/phinx.php
Normal file
22
src/phinx.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
// phinx.php
|
||||
|
||||
return [
|
||||
'paths' => [
|
||||
'migrations' => 'db/migrations',
|
||||
],
|
||||
'environments' => [
|
||||
'default_migration_table' => 'phinxlog',
|
||||
'default_environment' => 'development',
|
||||
'development' => [
|
||||
'adapter' => 'mysql',
|
||||
'host' => getenv('DB_HOST') ?: 'localhost',
|
||||
'name' => getenv('DB_NAME') ?: 'sabredav',
|
||||
'user' => getenv('DB_USER') ?: 'root',
|
||||
'pass' => getenv('DB_PASS') ?: '',
|
||||
'port' => getenv('DB_PORT') ?: '3306',
|
||||
'charset' => 'utf8mb4',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue