mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user