evazion
0731b07d27
posts: store duration of animations and videos.
...
Start storing the duration of animations and videos in the `duration`
field on the media_assets table. This had to wait until 3d30bfd69 was
deployed, which had to wait until Postgres was upgraded in order to add
the duration column to the media_assets table without downtime.
Also add a fix script to backfill the duration on existing posts. Usage:
TAGS=animated ./script/fixes/079_fix_duration.rb
2021-10-07 03:21:08 -05:00
..
2021-09-27 00:46:13 -05:00
2021-09-29 06:28:53 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-06-17 04:17:53 -05:00
2021-09-20 01:12:14 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2020-12-16 23:57:07 -06:00
2021-06-17 04:17:53 -05:00
2021-09-27 00:46:13 -05:00
2021-03-10 03:08:49 -06:00
2021-09-29 05:44:59 -05:00
2021-09-27 00:46:13 -05:00
2021-06-17 04:17:53 -05:00
2021-09-27 00:46:13 -05:00
2021-10-07 03:21:08 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 22:32:30 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-06-17 04:17:53 -05:00
2021-09-27 22:32:30 -05:00
2020-12-16 23:57:07 -06:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 22:32:30 -05:00
2021-09-27 22:32:30 -05:00
2021-08-31 21:11:07 -05:00
2021-06-17 04:17:53 -05:00
2021-09-27 22:32:30 -05:00
2021-06-17 04:17:53 -05:00
2021-09-27 00:46:13 -05:00
2021-01-29 02:22:23 -06:00
2021-10-06 08:08:52 -05:00
2021-09-27 00:46:13 -05:00
2021-09-01 00:55:19 -05:00
2021-09-27 00:46:13 -05:00
2021-09-20 01:12:14 -05:00
2021-09-20 16:29:38 -05:00
2021-09-29 05:44:59 -05:00
2021-09-27 00:46:13 -05:00
2021-09-27 00:46:13 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-03-01 20:13:14 -06:00
2021-09-27 00:46:13 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00