mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
rename posterg → xamxam throughout: nginx conf, scripts, PHP source, docs
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
*
|
||||
* Usage: php app/migrations/run.php [DB_PATH]
|
||||
*
|
||||
* If no DB_PATH is given, defaults to storage/posterg.db.
|
||||
* If no DB_PATH is given, defaults to storage/xamxam.db.
|
||||
*
|
||||
* Each migration in migrations/pending/ is applied in alphabetical order.
|
||||
* After success, the file is moved to migrations/applied/.
|
||||
*/
|
||||
|
||||
$root = dirname(__DIR__);
|
||||
$dbPath = $argv[1] ?? ($root . '/storage/posterg.db');
|
||||
$dbPath = $argv[1] ?? ($root . '/storage/xamxam.db');
|
||||
|
||||
if (!file_exists($dbPath)) {
|
||||
die("Database not found: $dbPath\n");
|
||||
|
||||
Reference in New Issue
Block a user