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_Create_application_cache extends CI_Migration
|
||||
{
|
||||
public function up(){$this->db->query("CREATE TABLE IF NOT EXISTS app_cache(cache_key VARCHAR(190) PRIMARY KEY,payload LONGTEXT NOT NULL,expires_at DATETIME NOT NULL,created_at DATETIME NOT NULL,KEY idx_app_cache_expiry(expires_at)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4");}
|
||||
public function down(){throw new RuntimeException('Gunakan backup untuk rollback cache aplikasi.');}
|
||||
}
|
||||
Reference in New Issue
Block a user