|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
public function safeUp() |
|
|
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() |
|
|
public function safeDown() |