You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
485 B

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Add regio table
*/
class Migration_Add_spelgebiedweight extends CI_Migration
{
public function up()
{
$this->dbforge->add_column('spelgebied', array(
'gewicht' => array(
'type' => 'DECIMAL',
'unsigned' => TRUE,
'constraint' => '3,2',
'after' => 'jaar',
'default' => '1.00',
),
));
}
public function down()
{
$this->dbforge->drop_column('spelgebied', 'gewicht');
}
}