Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable spread by default, disable encoders by default
- Loading branch information
1 parent
a3e07b7
commit b8c84fc
Showing
4 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class UpdateAFewColumnDefaults < ActiveRecord::Migration[5.2] | ||
def change | ||
change_column_default(:firmware_configs, :encoder_enabled_x, from: 1, to: 0) | ||
change_column_default(:firmware_configs, :encoder_enabled_y, from: 1, to: 0) | ||
change_column_default(:firmware_configs, :encoder_enabled_z, from: 1, to: 0) | ||
change_column_default(:web_app_configs, :show_spread, from: false, to: true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters