FEATURE: User selectable color schemes (#10544)

This commit is contained in:
Penar Musaraj
2020-08-28 10:36:52 -04:00
committed by GitHub
parent cff57c1883
commit b7cfc9e861
35 changed files with 799 additions and 115 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddUserSelectableColumnToColorSchemes < ActiveRecord::Migration[6.0]
def change
add_column :color_schemes, :user_selectable, :bool, null: false, default: false
end
end

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddColorSchemeIdToUserOptions < ActiveRecord::Migration[6.0]
def change
add_column :user_options, :color_scheme_id, :integer
end
end