You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
642 B

  1. <?php
  2. require 'vendor/autoload.php';
  3. $bootstrap = new Movim\Bootstrap;
  4. $bootstrap->boot(true);
  5. return [
  6. 'paths' => [
  7. 'migrations' => DOCUMENT_ROOT . '/database/migrations',
  8. 'seeds' => DOCUMENT_ROOT . '/database/seeds'
  9. ],
  10. 'environments' => [
  11. 'default_migration_table' => 'phinxlog',
  12. 'default_database' => 'movim',
  13. 'default_environment' => 'movim',
  14. 'movim' => [
  15. 'adapter' => DB_TYPE,
  16. 'host' => DB_HOST,
  17. 'name' => DB_DATABASE,
  18. 'user' => DB_USERNAME,
  19. 'pass' => DB_PASSWORD,
  20. 'port' => DB_PORT
  21. ]
  22. ]
  23. ];