Logo
Explore Help
Register Sign In
Nemcio/Redmine
1
0
Fork 0
You've already forked Redmine
mirror of https://github.com/redmine/redmine.git synced 2025-10-30 18:06:30 +01:00
Code Issues Packages Projects Releases Activity
Files
494c2b50078f901bffa9c99bfcea90d48e722c07
Redmine/db/migrate/102_add_custom_fields_editable.rb

10 lines
216 B
Ruby
Raw Normal View History

User custom fields can now be set as editable so that users can edit them on 'My account'. For existing user custom fields, this new attribute is set to false by default to preserve the prior behaviour (it can turned on by editing the custom field in admin area). Note: on the registration form, *required* custom fields will be displayed even if they are not defined as editable so that the account can be created. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-17 11:18:04 +00:00
class AddCustomFieldsEditable < ActiveRecord::Migration
def self.up
add_column :custom_fields, :editable, :boolean, :default => true
end
def self.down
remove_column :custom_fields, :editable
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 285ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API