mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- add node service in docker-compose.yml - update .devcontainer Dockerfile by adding node, npm and vim - init package.json for npm with tailwindcss, postcss, commitlint and commitizen as dev dependencies - update default layout main header and footer - replace CI's welcome_message.php with home.php listing all podcasts - add AUTHORS.md file - add docs folder in which to place castopod's technical documentation
51 lines
1.4 KiB
PHP
51 lines
1.4 KiB
PHP
<?php namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class Migrations extends BaseConfig
|
|
{
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Enable/Disable Migrations
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Migrations are enabled by default for security reasons.
|
|
| You should enable migrations whenever you intend to do a schema migration
|
|
| and disable it back when you're done.
|
|
|
|
|
*/
|
|
public $enabled = true;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Migrations table
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This is the name of the table that will store the current migrations state.
|
|
| When migrations runs it will store in a database table which migration
|
|
| level the system is at. It then compares the migration level in this
|
|
| table to the $config['migration_version'] if they are not the same it
|
|
| will migrate up. This must be set.
|
|
|
|
|
*/
|
|
public $table = 'migrations';
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Timestamp Format
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This is the format that will be used when creating new migrations
|
|
| using the cli command:
|
|
| > php spark migrate:create
|
|
|
|
|
| Typical formats:
|
|
| YmdHis_
|
|
| Y-m-d-His_
|
|
| Y_m_d_His_
|
|
|
|
|
*/
|
|
public $timestampFormat = 'Y-m-d-His_';
|
|
|
|
}
|