diff --git a/ci4/app/Database/Migrations/2024-11-19-185529_TicksPapeles.php b/ci4/app/Database/Migrations/2024-11-19-185529_TicksPapeles.php new file mode 100644 index 00000000..4972e2df --- /dev/null +++ b/ci4/app/Database/Migrations/2024-11-19-185529_TicksPapeles.php @@ -0,0 +1,40 @@ + [ + 'type' => 'TINYINT', + 'constraint' => 1, + 'null' => false, + 'default' => 0, + ], + ]; + + $this->forge->addColumn('lg_papel_generico', $fields); + + $fields = [ + 'show_in_client_special' => [ + 'type' => 'TINYINT', + 'constraint' => 1, + 'null' => false, + 'default' => 0, + ], + ]; + + $this->forge->addColumn('lg_papel_impresion', $fields); + } + + public function down() + { + $this->forge->dropColumn('lg_papel_generico', 'show_in_client_special'); + $this->forge->dropColumn('lg_papel_impresion', 'show_in_client_special'); + + } +}