FIX: migraciones fallando

This commit is contained in:
Juan Pablo Vial
2025-05-07 19:23:37 -04:00
parent 43eb8ec758
commit 3903551176
11 changed files with 15 additions and 15 deletions

View File

@ -12,7 +12,7 @@ class CreateProblema extends Phinx\Migration\AbstractMigration
$this->table('problema')
->addColumn('venta', 'integer', ['length' => 11, 'default' => null, 'null' => true])
->addColumn('descripcion', 'mediumtext', ['default' => null, 'null' => true])
->addColumn('descripcion', 'text', ['default' => null, 'null' => true, 'limit' => MysqlAdapter::TEXT_MEDIUM])
->create();
$this->execute('SET unique_checks=1; SET foreign_key_checks=1;');
}