mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 17:52:16 +00:00
fixed typo
This commit is contained in:
parent
6fe357ef3b
commit
58913ff03e
22
application/migrations/005_add_dxcc_enddate.php
Normal file
22
application/migrations/005_add_dxcc_enddate.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Migration_add_dxcc_enddate extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
|
||||
$fields = array(
|
||||
'end_date' => array('type' => 'datetime')
|
||||
);
|
||||
|
||||
$this->dbforge->add_column('dxcc', $fields);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->dbforge->drop_column('dxcc', 'end_date');
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user