users: add dark mode account setting (fix #4158).

This commit is contained in:
evazion
2019-09-19 13:20:06 -05:00
parent ca4cba7635
commit bf51d68f15
6 changed files with 20 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
class AddThemeToUsers < ActiveRecord::Migration[6.0]
def change
add_column :users, :theme, :integer, default: 0, null: false
end
end