Sha256: e4a543924e66fe6b69b6ccb516fe384f3c0ae7143ff23ccc0439d8919473d79c

Contents?: true

Size: 409 Bytes

Versions: 5

Compression:

Stored size: 409 Bytes

Contents

class CreateKktShoppeAttachments < ActiveRecord::Migration
  def change
    create_table :kkt_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

5 entries across 5 versions & 1 rubygems

Version Path
kkt_shoppe-2.0.2 db/migrate/20150315223628_create_kkt_shoppe_attachments.rb
kkt_shoppe-2.0.1 db/migrate/20150315223628_create_kkt_shoppe_attachments.rb
kkt_shoppe-2.0.0 db/migrate/20150315223628_create_kkt_shoppe_attachments.rb
kkt_shoppe-1.3.0 db/migrate/20150315223628_create_kkt_shoppe_attachments.rb
kkt_shoppe-1.1.2 db/migrate/20150315223628_create_kkt_shoppe_attachments.rb