Sha256: 0e7f0033adbf9e2c7f912a4f0276a7564f1c44e40c85686327f82acb17eff635
Contents?: true
Size: 304 Bytes
Versions: 10
Compression:
Stored size: 304 Bytes
Contents
class CreateImages < ActiveRecord::Migration[5.0] def change create_table :images do |t| t.string :image t.string :image_type t.integer :imageable_id t.string :imageable_type t.timestamps end add_index(:images, [ :imageable_id, :imageable_type ]) end end
Version data entries
10 entries across 10 versions & 1 rubygems