mirror of
https://github.com/redmine/redmine.git
synced 2024-08-18 14:10:15 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
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
|