scinote-web/db/migrate/20210407143303_add_settings_to_reports.rb

8 lines
181 B
Ruby
Raw Normal View History

2021-04-08 23:40:16 +08:00
# frozen_string_literal: true
class AddSettingsToReports < ActiveRecord::Migration[6.1]
def change
add_column :reports, :settings, :jsonb, default: {}, null: false
end
end