##// END OF EJS Templates
Merged r4210 from trunk....
Merged r4210 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4212 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r164:0b4d4db13130
r4098:38a2beb2c06f integration-to-sv...
Show More
017_create_settings.rb
12 lines | 284 B | text/x-ruby | RubyLexer
/ db / migrate / 017_create_settings.rb
Jean-Philippe Lang
settings are now stored in the database (config_custom.rb no more used) and editable through the application in: Admin -> Settings...
r164 class CreateSettings < ActiveRecord::Migration
def self.up
create_table :settings, :force => true do |t|
t.column "name", :string, :limit => 30, :default => "", :null => false
t.column "value", :text
end
end
def self.down
drop_table :settings
end
end