blob: e0f39317b8a55652b5306656640d541990a07ede (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_apikeys_add_access_level extends CI_Migration {
public function up()
{
$this->db->query("
alter table `apikeys` add `access_level` varchar(255) default 'apikey';
");
}
public function down()
{
$this->db->query("
alter table `apikeys` drop `access_level`;
");
}
}
|