Update besar apk finance
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Migration_Preserve_legacy_posting_default extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$this->db->query("ALTER TABLE journals MODIFY status ENUM('draft','submitted','approved','posted','rejected','reversed') NOT NULL DEFAULT 'posted'");
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->db->query("ALTER TABLE journals MODIFY status ENUM('draft','submitted','approved','posted','rejected','reversed') NOT NULL DEFAULT 'draft'");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user