Mercurial > hg > soundsoftware-site
view db/migrate/.svn/text-base/008_create_user_preferences.rb.svn-base @ 460:9bdb8e3b9135 feature_36
Publication index action in Project context correctly links to show view (within project context).
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 16 Jun 2011 13:45:19 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
class CreateUserPreferences < ActiveRecord::Migration def self.up create_table :user_preferences do |t| t.column "user_id", :integer, :default => 0, :null => false t.column "others", :text end end def self.down drop_table :user_preferences end end