Mercurial > hg > soundsoftware-site
comparison db/migrate/.svn/text-base/017_create_settings.rb.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 class CreateSettings < ActiveRecord::Migration | |
2 def self.up | |
3 create_table :settings, :force => true do |t| | |
4 t.column "name", :string, :limit => 30, :default => "", :null => false | |
5 t.column "value", :text | |
6 end | |
7 end | |
8 | |
9 def self.down | |
10 drop_table :settings | |
11 end | |
12 end |