scinote-web/db/migrate/20200902093234_add_view_mode_to_asset.rb
2020-09-02 15:02:56 +02:00

5 lines
149 B
Ruby

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