* Initial pins work * Add pin box to profiles * Fix test snapshot spacing and optimize svg * Fix listings spacing
13 lines
350 B
Ruby
13 lines
350 B
Ruby
class CreateProfilePins < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :profile_pins do |t|
|
|
t.bigint :profile_id
|
|
t.bigint :pinnable_id
|
|
t.string :profile_type
|
|
t.string :pinnable_type
|
|
t.timestamps
|
|
end
|
|
add_index("profile_pins", "profile_id")
|
|
add_index("profile_pins", "pinnable_id")
|
|
end
|
|
end
|