镜像自地址
https://github.com/redmine/redmine.git
已同步 2024-08-01 08:18:13 +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 行
345 B
Ruby
11 行
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
|