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
14 lines
371 B
Ruby
14 lines
371 B
Ruby
class CreateFollowReasons < ActiveRecord::Migration[5.0]
|
|
def change
|
|
create_table :follow_reasons do |t|
|
|
t.references :follow, index: true
|
|
t.boolean :created
|
|
t.boolean :contributed
|
|
t.boolean :commented
|
|
t.boolean :followed
|
|
t.boolean :shared_on
|
|
t.boolean :starred
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|