Update 20170209215819_create_follows.rb

This commit is contained in:
Connor Turland 2017-02-11 00:01:20 -05:00 committed by GitHub
parent fd8b21ace0
commit de53e19d08

View file

@ -2,9 +2,6 @@ class CreateFollows < ActiveRecord::Migration[5.0]
def change
create_table :follows do |t|
t.references :user, index: true
t.boolean :email, default: true
t.boolean :app, default: true
t.boolean :push, default: true
t.references :followed, polymorphic: true, index: true
t.timestamps
end