mirror of
https://github.com/redmine/redmine.git
synced 2024-07-22 21:19:50 +02:00
2f51dc11cf
Similar to List format but stores possible values as records. git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 lines
345 B
Ruby
11 lines
345 B
Ruby
class CreateCustomFieldEnumerations < ActiveRecord::Migration
|
|
def change
|
|
create_table :custom_field_enumerations do |t|
|
|
t.integer :custom_field_id, :null => false
|
|
t.string :name, :null => false
|
|
t.boolean :active, :default => true, :null => false
|
|
t.integer :position, :default => 1, :null => false
|
|
end
|
|
end
|
|
end
|