瀏覽代碼

Correction mgiration

refactoring
Guillaume Bourgeois 4 年之前
父節點
當前提交
69aa6f830b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      console/migrations/m200109_092028_module_bl_devis_factures_champs_status_document.php

+ 3
- 3
console/migrations/m200109_092028_module_bl_devis_factures_champs_status_document.php 查看文件

@@ -8,9 +8,9 @@ class m200109_092028_module_bl_devis_factures_champs_status_document extends Mig
{
public function safeUp()
{
$this->addColumn('invoice', 'status', Schema::TYPE_STRING.' DEFAULT '.Document::STATUS_DRAFT) ;
$this->addColumn('delivery_note', 'status', Schema::TYPE_STRING.' DEFAULT '.Document::STATUS_DRAFT) ;
$this->addColumn('quotation', 'status', Schema::TYPE_STRING.' DEFAULT '.Document::STATUS_DRAFT) ;
$this->addColumn('invoice', 'status', Schema::TYPE_STRING.' DEFAULT \''.Document::STATUS_DRAFT.'\'') ;
$this->addColumn('delivery_note', 'status', Schema::TYPE_STRING.' DEFAULT \''.Document::STATUS_DRAFT.'\'') ;
$this->addColumn('quotation', 'status', Schema::TYPE_STRING.' DEFAULT \''.Document::STATUS_DRAFT.'\'') ;
}

public function safeDown()

Loading…
取消
儲存