amatriain/openreader

View on GitHub
FeedBunch-app/db/migrate/20130401211659_create_feeds.rb

Summary

Maintainability
A
15 mins
Test Coverage
class CreateFeeds < ActiveRecord::Migration[5.2]
  def change
    create_table :feeds do |t|
      t.text :title
      t.text :url
      t.timestamps
    end

    create_table :users_feeds do |t|
      t.integer :user_id
      t.integer :feed_id
    end
  end
end