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

Unified Diff: db/migrate/004_create_tags.rb

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 5 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 side by-side-diff with in-line comments
Download patch
Index: db/migrate/004_create_tags.rb
===================================================================
--- db/migrate/004_create_tags.rb (revision 0)
+++ db/migrate/004_create_tags.rb (revision 0)
@@ -0,0 +1,12 @@
+class CreateTags < ActiveRecord::Migration
+ def self.up
+ create_table :tags do |t|
+ t.string :name
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :tags
+ end
+end

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