Sha256: f5297153985d9e8f0776f5004363c7327251851d4673b1595e50a55632d0b0f0
Contents?: true
Size: 409 Bytes
Versions: 5
Compression:
Stored size: 409 Bytes
Contents
class CreateReddePhotos < ActiveRecord::Migration[4.2] def change create_table :redde_photos do |t| t.integer :imageable_id t.string :imageable_type t.integer :position t.string :src t.string :token t.timestamps null: false end add_index :redde_photos, :imageable_id add_index :redde_photos, :imageable_type add_index :redde_photos, :token end end
Version data entries
5 entries across 5 versions & 1 rubygems