Update 20170209215819_create_follows.rb
This commit is contained in:
parent
fd8b21ace0
commit
de53e19d08
1 changed files with 0 additions and 3 deletions
|
@ -2,9 +2,6 @@ class CreateFollows < ActiveRecord::Migration[5.0]
|
||||||
def change
|
def change
|
||||||
create_table :follows do |t|
|
create_table :follows do |t|
|
||||||
t.references :user, index: true
|
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.references :followed, polymorphic: true, index: true
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue