Sha256: cc9b43db765b3828fe2eca7142c255c3dc9ab3df4e53ce2b6199737eec4c0863
Contents?: true
Size: 310 Bytes
Versions: 3
Compression:
Stored size: 310 Bytes
Contents
class CreateTbCommerceImageLinks < ActiveRecord::Migration def change create_table :tb_commerce_image_links do |t| t.references :tb_commerce_image t.references :imageable, polymorphic: true, index: true #we can attach these to almost anything t.timestamps null: false end end end
Version data entries
3 entries across 3 versions & 1 rubygems