blob: bf03490a8aad5fc97564e15646f5de9d1435bf58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_Drop_file_password extends CI_Migration {
public function up()
{
$this->db->query("
ALTER TABLE `files`
DROP `password`;
");
}
public function down()
{
$this->db->query("
ALTER TABLE `files`
ADD `password` varchar(40) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL;
");
}
}
|