Cloudlog/application/migrations/026_addfield_to_logbooks_de...

20 wiersze
465 B
PHP
Czysty Zwykły widok Historia

2019-09-22 20:23:09 +00:00
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_addfield_to_logbooks_default extends CI_Migration {
public function up()
{
$fields = array(
'default_logbook tinyint(1) DEFAULT NULL',
);
$this->dbforge->add_column('logbooks', $fields);
}
public function down()
{
2019-09-22 20:51:55 +00:00
echo "not possible";
2019-09-22 20:23:09 +00:00
}
}