- Full gg.deals-style UI: deal feed with filters, game pages with price history charts, rankings, vouchers, news, prepaids, subscriptions, bundles, franchises, wishlist, API docs - Real data crawlers: * gg:crawl (Steam Store API + GOG Catalog + Epic free games) * gg:catalog (252K game slugs from gg.deals sitemaps) * gg:ggdeals (per-game prices via FlareSolverr session, JSON-LD parsing) * gg:seed / gg:crawl-covers (demo seed + Steam CDN cover art) - 24/7 self-updating scheduler (scripts/scheduler_loop.php, lockfile-protected) - Tailwind v4 dark/light theme, Alpine.js, Chart.js
66 lines
2.1 KiB
PHP
66 lines
2.1 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 = 'Y-m-d-His_';
|
|
|
|
/**
|
|
* --------------------------------------------------------------------------
|
|
* Enable/Disable Migration Lock
|
|
* --------------------------------------------------------------------------
|
|
*
|
|
* Locking is disabled by default.
|
|
*
|
|
* When enabled, it will prevent multiple migration processes
|
|
* from running at the same time by using a lock mechanism.
|
|
*
|
|
* This is useful in production environments to avoid conflicts
|
|
* or race conditions during concurrent deployments.
|
|
*/
|
|
public bool $lock = false;
|
|
}
|