mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Features:
- Prototipo PDF - Ferro PDF - Ferro OK fecha cambiado a Ferro/Prototipo OK - Comentarios para orden,impresion,cubierta,encuadernacion y logistica - Migración para comentarios - Tarifas acabado migraciones con campos para identificar mejor si es plastificado,plakene,retractilado y el tipo de cada uno
This commit is contained in:
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace App\Database\Migrations;
|
||||
|
||||
use CodeIgniter\Database\Migration;
|
||||
|
||||
class AlterOrdenesTrabajoAddCommentColumns extends Migration
|
||||
{
|
||||
protected array $COLUMNS = [
|
||||
'comment_interior' => [
|
||||
'type' => 'LONGTEXT',
|
||||
'null' => true
|
||||
],
|
||||
'comment_cubierta' => [
|
||||
'type' => 'LONGTEXT',
|
||||
'null' => true
|
||||
],
|
||||
'comment_encuadernacion' => [
|
||||
'type' => 'LONGTEXT',
|
||||
'null' => true
|
||||
],
|
||||
'comment_logistica' => [
|
||||
'type' => 'LONGTEXT',
|
||||
'null' => true
|
||||
],
|
||||
];
|
||||
public function up()
|
||||
{
|
||||
|
||||
$this->forge->addColumn('ordenes_trabajo',$this->COLUMNS);
|
||||
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->forge->dropColumn('ordenes_trabajo',array_keys($this->COLUMNS));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user