Sha256: 68b8b658bf9cd87e812aa5e6d59f2ccf16970b2e5e8fb9bed2af2744d74bbff4

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

class CreateShoppeAttachments < ActiveRecord::Migration
  def change
    create_table :shoppe_attachments do |t|
      t.integer :parent_id, null: false
      t.string :parent_type, null: false
      t.string :token, unique: true
      t.string :file, null: false
      t.string :file_name
      t.integer :file_size
      t.string :file_type
      t.string :role

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shoppe-1.1.2 db/migrate/20150315223628_create_shoppe_attachments.rb
shoppe-1.1.1 db/migrate/20150315223628_create_shoppe_attachments.rb
shoppe-1.1.0 db/migrate/20150315223628_create_shoppe_attachments.rb
shoppe-1.0.9 db/migrate/20150315223628_create_shoppe_attachments.rb