PHP Classes
elePHPant
Icontem

File: tests/-app-/config/migrations.php

Recommend this page to a friend!
  Classes of Wolfy-J  >  spiral  >  tests/-app-/config/migrations.php  >  Download  
File: tests/-app-/config/migrations.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: spiral
Modular Web application development framework
Author: By
Last change:
Date: 10 months ago
Size: 669 bytes
 

Contents

Class file image Download
<?php
/**
 * Migrations component configuration file. Attention, configs might include runtime code which
 * depended on environment values only.
 *
 * @see MigrationsConfig
 */
return [
   
/*
     * Directory to store migration files
     */
   
'directory' => directory('runtime') . 'migrations/',

   
/*
     * Database name to store information about migrations status
     */
   
'database' => 'runtime',

   
/*
     * Table name to store information about migrations status
     */
   
'table' => 'migrations',

   
/*
     * When set to true no confirmation will be requested on migration run.
     */
   
'safe' => env('SPIRAL_ENV') == 'develop'
];