Skip to content

Commit

Permalink
Merge pull request #870 from tf/fix-hls-output-presences-12-0
Browse files Browse the repository at this point in the history
Include hls in output presences of legacy files
  • Loading branch information
tf committed Sep 13, 2017
2 parents 544794b + f7de7d4 commit 06a4a93
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ rvm:
# User container based travis infrastructure which allows caching
# features for open source projects.
sudo: false
dist: precise

cache:
bundler: true
directories:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class FixHlsOutputPresencesForLegacyVideoFiles < ActiveRecord::Migration
def up
execute(<<-SQL)
UPDATE pageflow_video_files
SET output_presences = '{"high":true,"medium":true,"low":true,"hls-playlist":true}'
WHERE output_presences = '{"high":true,"medium":true,"low":true}';
SQL
end

def down
end
end

0 comments on commit 06a4a93

Please sign in to comment.