Initial Upload

This commit is contained in:
Matt Batchelder
2025-12-02 10:32:59 -05:00
commit 05ce0da296
2240 changed files with 467811 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
use Phinx\Migration\AbstractMigration;
class AddDefaultTransitionDurationSettingMigration extends AbstractMigration
{
/** @inheritdoc */
public function change()
{
// Add a setting allowing users enable event sync on applicable events
if (!$this->fetchRow('SELECT * FROM `setting` WHERE setting = \'DEFAULT_TRANSITION_DURATION\'')) {
$this->table('setting')->insert([
[
'setting' => 'DEFAULT_TRANSITION_DURATION',
'value' => 1000,
'userSee' => 1,
'userChange' => 1
]
])->save();
}
}
}