Adds Enumeration custom field format (#21060).

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
This commit is contained in:
Jean-Philippe Lang
2015-10-25 08:32:47 +00:00
parent 934a7615c4
commit 2f51dc11cf
16 changed files with 474 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
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