mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
5 lines
149 B
Ruby
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
|