FIX: id de migracion
This commit is contained in:
@ -10,7 +10,8 @@ class CreateTipoEstadoPago extends Phinx\Migration\AbstractMigration
|
|||||||
$this->execute("ALTER DATABASE CHARACTER SET 'utf8mb4';");
|
$this->execute("ALTER DATABASE CHARACTER SET 'utf8mb4';");
|
||||||
$this->execute("ALTER DATABASE COLLATE='utf8mb4_general_ci';");
|
$this->execute("ALTER DATABASE COLLATE='utf8mb4_general_ci';");
|
||||||
|
|
||||||
$this->table('tipo_estado_pago')
|
$this->table('tipo_estado_pago', ['id' => false, 'primary_key' => 'id'])
|
||||||
|
->addColumn('id', 'integer', ['signed' => true])
|
||||||
->addColumn('descripcion', 'string', ['length' => 20, 'default' => null, 'null' => true])
|
->addColumn('descripcion', 'string', ['length' => 20, 'default' => null, 'null' => true])
|
||||||
->addColumn('active', 'integer', ['length' => 1, 'default' => 0])
|
->addColumn('active', 'integer', ['length' => 1, 'default' => 0])
|
||||||
->create();
|
->create();
|
||||||
|
Reference in New Issue
Block a user