Don't keep default theme name as empty string
parent
32e097cf25
commit
21ba8ce13c
@ -0,0 +1,6 @@
|
||||
class ConvertEmptyStringThemeToNil < ActiveRecord::Migration
|
||||
def change
|
||||
execute "UPDATE users SET theme_name=NULL WHERE theme_name=''"
|
||||
execute "UPDATE asciicasts SET theme_name=NULL WHERE theme_name=''"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue