Files
Redmine/git/db/migrate/017_create_settings.rb
Jean-Philippe Lang 25e8baea05 Added git support branch.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-07 16:13:06 +00:00

13 lines
284 B
Ruby

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