scinote-web/db/migrate/20200902093234_add_view_mode_to_asset.rb

6 lines
149 B
Ruby
Raw Normal View History

class AddViewModeToAsset < ActiveRecord::Migration[6.0]
def change
add_column :assets, :view_mode, :integer, default: 0, null: false
end
end