Skip to content

Commit

Permalink
res/schema.xml: Fix cue colors from previous schema migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Mar 15, 2020
1 parent e18f8d5 commit 243fb32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions res/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ METADATA
UPDATE cues SET color=0xFCA6D7 WHERE color=7;
<!-- White -->
UPDATE cues SET color=0xF2F2FF WHERE color=8;
<!-- Remove alpha channel from cues that were updated by
previous, in-development schema migrations
-->
UPDATE cues SET color = (color &amp; 0xFFFFFF) WHERE color > 0xFFFFFF;
</sql>
</revision>
</schema>

0 comments on commit 243fb32

Please sign in to comment.