Actualizacion de migraciones
This commit is contained in:
@ -20,9 +20,9 @@ final class CreateBroker extends AbstractMigration
|
||||
public function change(): void
|
||||
{
|
||||
$this->table('brokers', ['id' => false, 'primary_key' => ['rut']])
|
||||
->addColumn('rut', 'integer', ['identity' => true, 'signed' => false])
|
||||
->addColumn('digit', 'string', ['length' => 1])
|
||||
->addColumn('name', 'string', ['length' => 255])
|
||||
->addColumn('rut', 'integer', ['identity' => true, 'signed' => false, 'null' => false])
|
||||
->addColumn('digit', 'string', ['length' => 1, 'null' => false])
|
||||
->addColumn('name', 'string', ['length' => 255, 'null' => false])
|
||||
->create();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user