Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
11
db/migrate/065_add_settings_updated_on.rb
Normal file
11
db/migrate/065_add_settings_updated_on.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class AddSettingsUpdatedOn < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :settings, :updated_on, :timestamp
|
||||
# set updated_on
|
||||
Setting.all.each(&:save)
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :settings, :updated_on
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue