Sha256: 543d44ebac84b05dd7fb4e85cf95a752b0664d7011e4d038771728fa0bc8bb01

Contents?: true

Size: 404 Bytes

Versions: 40

Compression:

Stored size: 404 Bytes

Contents

class CreateReddePhotos < ActiveRecord::Migration
  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

40 entries across 40 versions & 1 rubygems

Version Path
redde-0.3.39 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.38 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.37 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.36 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.35 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.34 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.33 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.32 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.31 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.30 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.29 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.28 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.27 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.26 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.25 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.24 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.23 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.22 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.21 db/migrate/20160121152706_create_redde_photos.rb
redde-0.3.20 db/migrate/20160121152706_create_redde_photos.rb