mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
6 lines
149 B
Ruby
6 lines
149 B
Ruby
|
class AddViewModeToAsset < ActiveRecord::Migration[6.0]
|
||
|
def change
|
||
|
add_column :assets, :view_mode, :integer, default: 0, null: false
|
||
|
end
|
||
|
end
|