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

Side by Side Diff: db/migrate/005_tags_photos.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 TagsPhotos < ActiveRecord::Migration
2 def self.up
3 create_table :tags_photos, :id => false do |t|
4 t.integer :tag_id
5 t.integer :photo_id
6 t.timestamps
7 end
8 end
9
10 def self.down
11 drop_table :tags_photos
12 end
13 end
OLDNEW

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