]> cat aescling's git repositories - mastodon.git/commit
Fix media attachments enumeration (#14254)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 7 Jul 2020 13:26:51 +0000 (15:26 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Jul 2020 13:26:51 +0000 (15:26 +0200)
commit6e25574ce599cbc37b7215ded03c7d07208af6bb
treef551a6ff7f5bd6b3f46fdeb14d41625e8d77530d
parent81a3db156401a46037864b5ff46852e3c2e23bc9
Fix media attachments enumeration (#14254)

* Fix media attachment enumeration

* Switch media_attachments id to snowflake ids

Co-authored-by: Thibaut Girka <thib@sitedethib.com>
app/controllers/media_proxy_controller.rb
db/migrate/20200622213645_media_attachment_ids_to_timestamp_ids.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/media_controller_spec.rb
spec/controllers/media_proxy_controller_spec.rb [new file with mode: 0644]