mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +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
|