public
Description: Small application that lets you generate an rss feed for any page
Clone URL: git://github.com/jduff/rssanything.git
rssanything / db / migrate / 002_create_items.rb
100644 14 lines (13 sloc) 0.255 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreateItems < ActiveRecord::Migration
  def self.up
    create_table :items do |t|
      t.string :title, :link, :guid
      t.binary :content
      t.integer :feed_id
      t.timestamps
    end
  end
 
  def self.down
    drop_table :items
  end
end