Update besar apk finance
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
class Migration_Add_po_budget_account extends CI_Migration
|
||||
{
|
||||
public function up(){if(!$this->db->field_exists('budget_account_id','purchase_order_lines'))$this->db->query('ALTER TABLE purchase_order_lines ADD budget_account_id INT NULL');}
|
||||
public function down(){throw new RuntimeException('Gunakan backup untuk rollback budget PO.');}
|
||||
}
|
||||
Reference in New Issue
Block a user