class CreatePartObjects

Public Instance Methods

change() click to toggle source
# File lib/generators/activeadmin-magicfields/install/templates/create_part_objects.rb, line 2
def change
  create_table :part_objects do |t|
    
    t.integer :base_model_id
    t.integer :part_id
    t.integer :position

    t.timestamps

  end
end