chg: [migrations:roles] Added perm_sync column
parent
6e2a541e4f
commit
95299430b8
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
use Migrations\AbstractMigration;
|
||||
|
||||
|
||||
class RolesPermSync extends AbstractMigration
|
||||
{
|
||||
public function change()
|
||||
{
|
||||
$table = $this->table('roles')
|
||||
->addColumn('perm_sync', 'boolean', [
|
||||
'default' => 0,
|
||||
'null' => false,
|
||||
])
|
||||
->update();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue