Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9)

Side by Side Diff: db/migrate/004_add_birthday_and_visited_at_columns.rb

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 class AddBirthdayAndVisitedAtColumns < ActiveRecord::Migration
2 def self.up
3 add_column :users, :birthday, :datetime
4 add_column :users, :visited_at, :datetime
5 end
6
7 def self.down
8 remove_column :users, :visited_at
9 remove_column :users, :birthday
10 end
11 end
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483