iTORN
  • Home
  • Gists
  • Bookmarks
Subscribe
Tagged

Codeigniter

A collection of 1 post

Codeigniter

Creating an ENUM field with dbforge : Codeigniter

$field[‘enum_field’] = array( ‘type’ => ‘ENUM’, ‘constraint’ => array(‘a’,’b’,’c’), ‘default’=> “a” ); $this->dbforge->add_field($field)

  • Onyx
Onyx 14 พ.ค. 2013 • 1 min read
iTORN © 2021
Powered by Ghost