14 lines
525 B
Ruby
14 lines
525 B
Ruby
class AddBaToMOdr < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_column :m_odrs, :ba_generation, :boolean, :default => false
|
|
add_column :m_odrs, :ba_send, :boolean, :default => false
|
|
add_column :m_odrs, :ba_width, :integer
|
|
add_column :m_odrs, :ba_height, :integer
|
|
add_column :m_odrs, :ba_name_x, :integer
|
|
add_column :m_odrs, :ba_name_y, :integer
|
|
add_column :m_odrs, :ba_place_x, :integer
|
|
add_column :m_odrs, :ba_place_y, :integer
|
|
add_column :m_odrs, :ba_image_file_id, :integer
|
|
end
|
|
end
|