kohana-pack / timestamped-migrations

Rails Like migrations for Kohana 3
MIT License
6 stars 0 forks source link

Add comment mysql keyword support #18

Open seyfer opened 10 years ago

seyfer commented 10 years ago

Add support for COMMENT

ALTER TABLE table CHANGE id_seance id_seance INT(11) NOT NULL COMMENT 'available';

$this->change_column('table', 'id_seance', array(
            "type"    => 'int', "limit"   => '11', "null"    => TRUE, 'comment' => "available"
        ));