Files
Redmine/time/db/migrate/017_create_settings.rb
Jean-Philippe Lang b23cb49756 created branch for time tracking
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-11 18:11:40 +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