This repository has been archived on 2021-07-13. You can view files and clone it, but cannot push or open issues or pull requests.
feedfu/db/migrate/20120407165240_create_items.rb

16 lines
263 B
Ruby

class CreateItems < ActiveRecord::Migration
def change
create_table :items do |t|
t.string :title
t.string :url
t.string :author
t.text :content
t.time :published
t.references :feed
t.timestamps
end
end
end