mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
9 lines
264 B
Ruby
9 lines
264 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class AddDefaultCalendarToUserOptions < ActiveRecord::Migration[6.1]
|
||
|
def change
|
||
|
add_column :user_options, :default_calendar, :integer, default: 0, null: false
|
||
|
add_index :user_options, %i[user_id default_calendar]
|
||
|
end
|
||
|
end
|