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.

20151025072118_create_custom_field_enumerations.rb 350B

12345678910
  1. class CreateCustomFieldEnumerations < ActiveRecord::Migration[4.2]
  2. def change
  3. create_table :custom_field_enumerations do |t|
  4. t.integer :custom_field_id, :null => false
  5. t.string :name, :null => false
  6. t.boolean :active, :default => true, :null => false
  7. t.integer :position, :default => 1, :null => false
  8. end
  9. end
  10. end