mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-26 19:17:51 -05:00
- Bump composer.json/lock to codeigniter 4.4.3 - Fix base_url() call without arguments - Updated files in the project space - Bump composer.json/lock to kint 5.0.4 - Update composer.json to include missing CI elements - Corrected composer.json regarding minimum versions - Updated README.md to reflect CI4 implementation - Migrated some Routes.php to Routing.php - Removed deprecated settings from Config/App.php
51 lines
1.6 KiB
PHP
51 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class Migrations extends BaseConfig
|
|
{
|
|
/**
|
|
* --------------------------------------------------------------------------
|
|
* Enable/Disable Migrations
|
|
* --------------------------------------------------------------------------
|
|
*
|
|
* Migrations are enabled by default.
|
|
*
|
|
* You should enable migrations whenever you intend to do a schema migration
|
|
* and disable it back when you're done.
|
|
*/
|
|
public bool $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
|
|
* files have already been run.
|
|
*/
|
|
public string $table = 'migrations';
|
|
|
|
/**
|
|
* --------------------------------------------------------------------------
|
|
* Timestamp Format
|
|
* --------------------------------------------------------------------------
|
|
*
|
|
* This is the format that will be used when creating new migrations
|
|
* using the CLI command:
|
|
* > php spark make:migration
|
|
*
|
|
* NOTE: if you set an unsupported format, migration runner will not find
|
|
* your migration files.
|
|
*
|
|
* Supported formats:
|
|
* - YmdHis_
|
|
* - Y-m-d-His_
|
|
* - Y_m_d_His_
|
|
*/
|
|
public string $timestampFormat = 'YmdHis_';
|
|
}
|