mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +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
|