docbrown/app/models/concerns
Alex 1890f393a2
[deploy] Add subscriber_email to user_subscriptions & more backend updates (#8723)
* Add migrations for subscriber_email column

* Add new schema

* Update relationships, specs, and factory

* Use unless index_exists? over if !index_exists?

* Fix typo in last fix for migration

* Rename authored_user_subscriptions

- to source_authored_user_subcriptions

* Add factory methods and specs

- UserSubscription.make
- UserSubscription.make_new
- Article.new_user_subscription
- Article.create_user_subscription

* Remove self and &

* Change make_new to build

* new_user_subscription --> build_user_subscription

* Come on, Travis
2020-06-18 14:40:08 -04:00
..
.keep Initial commit 2018-02-28 16:11:08 -05:00
purgeable.rb [deploy] Copy ActiveRecord methods from fastly-rails (#7145) 2020-04-13 10:46:15 -04:00
reactable.rb [deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926) 2020-05-26 12:36:28 -04:00
searchable.rb [deploy] Delay RemoveFromIndex Job to Fix Callback Race Conditions (#7800) 2020-05-12 14:39:16 -05:00
user_subscription_sourceable.rb [deploy] Add subscriber_email to user_subscriptions & more backend updates (#8723) 2020-06-18 14:40:08 -04:00