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

Side by Side Diff: db/migrate/003_create_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 CreatePhotos < ActiveRecord::Migration
2 def self.up
3 create_table :photos do |t|
4 t.integer :news_item_id
5 t.string :image
6 t.string :description
7 t.integer :created_by_id
8 t.integer :updated_by_id
9 t.timestamps
10 end
11 end
12
13 def self.down
14 drop_table :photos
15 end
16 end
OLDNEW

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