mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
15 lines
394 B
PHP
15 lines
394 B
PHP
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Migration_add_queries_table extends CI_Migration
|
|
{
|
|
public function up()
|
|
{
|
|
$this->db->query("create table if not exists queries (id integer not null auto_increment, query text, description text, userid integer not null, primary key (id)) ENGINE=myisam DEFAULT CHARSET=utf8;");
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
|
|
}
|
|
}
|