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

Side by Side Diff: db/migrate/002_create_news_items.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 unified diff | Download patch
OLDNEW
(Empty)
1 class CreateNewsItems < ActiveRecord::Migration
2 def self.up
3 create_table :news_items do |t|
4 t.string :title
5 t.text :body
6 t.text :body_filtered
7 t.text :extended
8 t.text :extended_filtered
9 t.integer :created_by_id
10 t.integer :updated_by_id
11 t.timestamps
12 end
13 end
14
15 def self.down
16 drop_table :news_items
17 end
18 end
OLDNEW

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