mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
add mostrar_presupuesto_cliente field in tarifas extra y preimpresion
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Database\Migrations;
|
||||
|
||||
use CodeIgniter\Database\Migration;
|
||||
|
||||
class AlterTableTarifasExtraPreimpresionCheckPresupuestoClienteMigration extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$field = [
|
||||
'mostrar_en_presupuesto_cliente' => [
|
||||
'type' => 'BOOLEAN',
|
||||
'default' => false,
|
||||
]
|
||||
];
|
||||
$this->forge->addColumn('tarifa_extra',$field);
|
||||
$this->forge->addColumn('lg_tarifa_preimpresion',$field);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->forge->dropColumn('tarifa_extra','mostrar_en_presupuesto_cliente');
|
||||
$this->forge->dropColumn('lg_tarifa_preimpresion','mostrar_en_presupuesto_cliente');
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user