CC-4432: Change all database entries in database from audio/vorbis to audio/ogg on upgrade

-fixed
This commit is contained in:
Martin Konecny 2012-09-13 19:53:56 -04:00
parent fce060fc49
commit cd530fc556
1 changed files with 5 additions and 1 deletions

View File

@ -168,6 +168,10 @@ DROP FUNCTION airtime_to_int(chartoconvert character varying);
UPDATE cc_files
SET owner_id=(SELECT id FROM cc_subjs WHERE type='A' LIMIT 1)
WHERE owner_id is NULL
WHERE owner_id is NULL;
UPDATE cc_files
SET mime='audio/ogg'
WHERE mime='audio/vorbis';