añadido tick a papeles interior. ese tick se usa en la busqueda

This commit is contained in:
2024-11-25 18:49:46 +01:00
parent 108af267e7
commit fd0989f764
8 changed files with 62 additions and 14 deletions

View File

@ -0,0 +1,26 @@
<?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class AddTickInteriorPapelImpresion extends Migration
{
public function up()
{
$fields = [
'interior' => [
'type' => 'TINYINT',
'constraint' => 1,
'null' => false,
'default' => 0,
],
];
$this->forge->addColumn('lg_papel_impresion', $fields);
}
public function down()
{
$this->forge->dropColumn('lg_papel_impresion', 'interior');
}
}