Skip to content

Commit c23c5eb

Browse files
committed
show historic terms should default to true
1 parent af965eb commit c23c5eb

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

app/models/user_extension_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# default_color_lecture :string default("#039be5"), not null
1111
# enrolled_terms :jsonb not null
1212
# military_time :boolean default(FALSE), not null
13-
# show_historic_terms :boolean default(FALSE), not null
13+
# show_historic_terms :boolean default(TRUE), not null
1414
# sync_university_events :boolean default(FALSE), not null
1515
# university_event_categories :jsonb
1616
# created_at :datetime not null
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class ChangeShowHistoricTermsDefaultToTrue < ActiveRecord::Migration[8.1]
2+
def change
3+
change_column_default :user_extension_configs, :show_historic_terms, from: false, to: true
4+
end
5+
end

db/schema.rb

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)