You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/lib
Claire 741d0952b1
Improve account counters handling (#15913)
* Improve account counters handling

* Use ActiveRecord::Base::sanitize_sql to pass values instead of interpolating them

Keep using string interpolation for `key` as it is safe and using
“ActiveRecord::Base::sanitize_sql_hash_for_assignment” would require stitching
bits of SQL in a way that is not more easily checked for safety.

* Add migration hook to catch PostgreSQL versions earlier than 9.5
4 years ago
..
action_dispatch
active_record Use more robust hook for loading timestamp_id function into database (#15919) 4 years ago
assets
chewy/strategy
devise
generators
json_ld
mastodon Remove MySQL-specific code from Mastodon::MigrationHelpers (#15924) 4 years ago
paperclip
rails
redis
sanitize_ext Prepare Mastodon for zeitwerk autoloader (#15917) 4 years ago
tasks Improve account counters handling (#15913) 4 years ago
templates
webpacker
cli.rb
enumerable.rb
exceptions.rb Prepare Mastodon for zeitwerk autoloader (#15917) 4 years ago