diff --git a/ci4/app/Database/Migrations/2025-04-26-200000_AddTipoEnvioEnvios.php b/ci4/app/Database/Migrations/2025-04-26-200000_AddTipoEnvioEnvios.php new file mode 100644 index 00000000..228ee536 --- /dev/null +++ b/ci4/app/Database/Migrations/2025-04-26-200000_AddTipoEnvioEnvios.php @@ -0,0 +1,30 @@ + [ + "type" => "enum", + "constraint" => ['estandar', 'ferro_prototipo'], + "default" => 'estandar', + "comment" => "Indica el tipo de envio", + ], + ]; + public function up() + { + $this->forge->addColumn('envios', $this->COLUMNS); + } + + public function down() + { + $this->forge->dropColumn('envios', array_keys($this->COLUMNS)); + } +}