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
2012-04-08 04:04:37 +02:00

15 lines
270 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.datetime :published_at
t.references :feed
t.timestamps
end
end
end