class CreateSettings < ActiveRecord::Migration def self.up create_table(:settings, :id => false) do |t| t.string :name, :primary => true t.text :value t.timestamps end end def self.down drop_table :settings end end