Sha256: 9abfda913e5c5ae1a93974ee93c8b067fa93956ff61bdd3e2c13431ac80c85f8

Contents?: true

Size: 574 Bytes

Versions: 142

Compression:

Stored size: 574 Bytes

Contents

# This migration comes from push_type (originally 20141127151930)
class CreatePushTypeAssets < ActiveRecord::Migration
  def change
    enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp')
    create_table :push_type_assets, id: :uuid, default: 'uuid_generate_v4()' do |t|
      t.string    :file_uid
      t.string    :file_name
      t.integer   :file_size
      t.string    :file_ext
      t.string    :mime_type
      t.string    :description

      t.uuid      :uploader_id

      t.timestamps null: false
      t.datetime  :deleted_at
    end
  end
end

Version data entries

142 entries across 142 versions & 5 rubygems

Version Path
push_type_core-0.10.4 test/dummy/db/migrate/20170130110709_create_push_type_assets.push_type.rb
push_type_auth-0.10.4 test/dummy/db/migrate/20170130110826_create_push_type_assets.push_type.rb
push_type_api-0.10.4 test/dummy/db/migrate/20170130110733_create_push_type_assets.push_type.rb
push_type_admin-0.10.4 test/dummy/db/migrate/20170131181203_create_push_type_assets.push_type.rb
push_type_core-0.10.3 test/dummy/db/migrate/20170130110709_create_push_type_assets.push_type.rb
push_type_auth-0.10.3 test/dummy/db/migrate/20170130110826_create_push_type_assets.push_type.rb
push_type_api-0.10.3 test/dummy/db/migrate/20170130110733_create_push_type_assets.push_type.rb
push_type_admin-0.10.3 test/dummy/db/migrate/20170130110751_create_push_type_assets.push_type.rb
push_type_core-0.10.2 test/dummy/db/migrate/20161221151012_create_push_type_assets.push_type.rb
push_type_auth-0.10.2 test/dummy/db/migrate/20161221151134_create_push_type_assets.push_type.rb
push_type_api-0.10.2 test/dummy/db/migrate/20161221151036_create_push_type_assets.push_type.rb
push_type_admin-0.10.2 test/dummy/db/migrate/20161221151054_create_push_type_assets.push_type.rb
push_type_core-0.10.1 test/dummy/db/migrate/20161211203626_create_push_type_assets.push_type.rb
push_type_auth-0.10.1 test/dummy/db/migrate/20161211203742_create_push_type_assets.push_type.rb
push_type_api-0.10.1 test/dummy/db/migrate/20161211203649_create_push_type_assets.push_type.rb
push_type_admin-0.10.1 test/dummy/db/migrate/20161211203707_create_push_type_assets.push_type.rb
push_type_core-0.10.0 test/dummy/db/migrate/20161121193335_create_push_type_assets.push_type.rb
push_type_auth-0.10.0 test/dummy/db/migrate/20161121193512_create_push_type_assets.push_type.rb
push_type_api-0.10.0 test/dummy/db/migrate/20161121193360_create_push_type_assets.push_type.rb
push_type_admin-0.10.0 test/dummy/db/migrate/20161121193419_create_push_type_assets.push_type.rb