karim_app/db/migrate/20180422200423_create_popup_popupables.rb
Nicolas Bally a0a3cfd6fe initial
2018-06-11 01:40:28 +02:00

12 lines
246 B
Ruby

class CreatePopupPopupables < ActiveRecord::Migration
def change
create_table :popup_popupables do |t|
t.integer :popup_id
t.integer :popupable_id
t.string :popupable_type
t.timestamps null: false
end
end
end