mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminada envio lineas
This commit is contained in:
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Database\Migrations;
|
||||
|
||||
use CodeIgniter\Database\Migration;
|
||||
use CodeIgniter\Database\RawSql;
|
||||
|
||||
class AddMEnvioColumns extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$this->forge->addColumn("envios",
|
||||
["multienvio" => [
|
||||
"type" => "TINYINT",
|
||||
"unsigned" => true,
|
||||
"null" => false,
|
||||
"default" => 0,
|
||||
]]
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->forge->dropColumn("envios", ['multienvio']);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user