possible fix?
This commit is contained in:
parent
9804149beb
commit
98a894fd1e
2 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,8 @@ class CreateTicketSettings extends SettingsMigration
|
|||
$table_exists = DB::table('settings_old')->exists();
|
||||
|
||||
// Get the user-set configuration values from the old table.
|
||||
$this->migrator->add('ticket.enabled', $table_exists ? $this->getOldValue('SETTINGS::TICKET:ENABLED') : 'all');
|
||||
$this->migrator->add('ticket.enabled', $table_exists ? $this->getOldValue('SETTINGS::TICKET:ENABLED') : 'true');
|
||||
$this->migrator->add('ticket.notify', $table_exists ? $this->getOldValue('SETTINGS::TICKET:NOTIFY') : 'all');
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
|
|
|
@ -6,6 +6,7 @@ return new class extends SettingsMigration
|
|||
{
|
||||
public function up(): void
|
||||
{
|
||||
$this->migrator->delete('ticket.notify');
|
||||
$this->migrator->add('ticket.information', "Can't start your server? Need an additional port? Do you have any other questions? Let us know by opening a ticket.");
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue