fedibird-fe/db
Eugen Rochko fb1ae0152d
Wrong exception class: ActiveRecord::RecordNotUnique, not PG::UniqueViolation (#7688)
* Wrong exception class: ActiveRecord::RecordNotUnique, not PG::UniqueViolation

It's completely not obvious but PG::UniqueViolation is just a string inside the exception message, not the actual class of the exception

* Favourite does not have target_account_id
2018-05-31 17:22:33 +02:00
..
migrate Wrong exception class: ActiveRecord::RecordNotUnique, not PG::UniqueViolation (#7688) 2018-05-31 17:22:33 +02:00
schema.rb Deduplicate accounts and make unique username/domain index case-insensitive (#7658) 2018-05-30 02:51:26 +02:00
seeds.rb Fix db:seed - only run some validations when the field was changed (#3592) 2017-06-08 09:22:01 -04:00