Sha256: fb545d71c6d80321e1cec63bd365cee3523f9047ebf2dbe8e5328d992c06951b
Contents?: true
Size: 369 Bytes
Versions: 22
Compression:
Stored size: 369 Bytes
Contents
class CreateImages < ActiveRecord::Migration def change create_table :images do |t| t.string :file t.references :imageable, polymorphic: true, index: true t.integer :width t.integer :height t.boolean :retina, default: false t.string :upload_name t.string :secure_random, index: true t.timestamps end end end
Version data entries
22 entries across 22 versions & 1 rubygems