b0deafc53e
* all the good changes * follows * dont send duplicates * remove follow_type for now * dont add all the extra stuff we're not implementing yet * refactor * lots of fixes * Delete activity.html.erb * Delete activity.text.erb * Update 20170209215819_create_follows.rb * Update schema.rb * Update mapping.rb * Update mailboxer.rb
9 lines
235 B
Ruby
9 lines
235 B
Ruby
class CreateFollows < ActiveRecord::Migration[5.0]
|
|
def change
|
|
create_table :follows do |t|
|
|
t.references :user, index: true
|
|
t.references :followed, polymorphic: true, index: true
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|