added error page and logs linked
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Phinx\Migration\AbstractMigration;
|
||||
|
||||
final class AddLogFileToDatadb extends AbstractMigration
|
||||
{
|
||||
public function change(): void
|
||||
{
|
||||
$table = $this->table('datadb');
|
||||
if (!$table->hasColumn('log_file')) {
|
||||
$table->addColumn('log_file', 'string', [
|
||||
'limit' => 255,
|
||||
'null' => true,
|
||||
'default' => null,
|
||||
'after' => 'commessaweb', // aggiusta se la colonna non esiste
|
||||
])->update();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user