scinote-web/db/migrate/20230811115859_add_assets_view_mode_to_result.rb

7 lines
201 B
Ruby
Raw Normal View History

2023-08-11 20:48:20 +08:00
class AddAssetsViewModeToResult < ActiveRecord::Migration[7.0]
def change
add_column :results, :assets_view_mode, :integer, default: 0
change_column_null :result_texts, :text, true
end
end