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_auth-0.6.0 test/dummy/db/migrate/20151108150852_create_push_type_assets.push_type.rb
push_type_admin-0.6.0 test/dummy/db/migrate/20151108150817_create_push_type_assets.push_type.rb
push_type_wysiwyg-0.6.0.beta.4 test/dummy/db/migrate/20151108150841_create_push_type_assets.push_type.rb
push_type_core-0.6.0.beta.4 test/dummy/db/migrate/20151108150755_create_push_type_assets.push_type.rb
push_type_auth-0.6.0.beta.4 test/dummy/db/migrate/20151108150852_create_push_type_assets.push_type.rb
push_type_admin-0.6.0.beta.4 test/dummy/db/migrate/20151108150817_create_push_type_assets.push_type.rb
push_type_wysiwyg-0.6.0.beta.3 test/dummy/db/migrate/20151102202762_create_push_type_assets.push_type.rb
push_type_core-0.6.0.beta.3 test/dummy/db/migrate/20151102202718_create_push_type_assets.push_type.rb
push_type_auth-0.6.0.beta.3 test/dummy/db/migrate/20151102202813_create_push_type_assets.push_type.rb
push_type_admin-0.6.0.beta.3 test/dummy/db/migrate/20151102202738_create_push_type_assets.push_type.rb
push_type_wysiwyg-0.6.0.beta.2 test/dummy/db/migrate/20151102165922_create_push_type_assets.push_type.rb
push_type_core-0.6.0.beta.2 test/dummy/db/migrate/20151102165840_create_push_type_assets.push_type.rb
push_type_auth-0.6.0.beta.2 test/dummy/db/migrate/20151102165933_create_push_type_assets.push_type.rb
push_type_admin-0.6.0.beta.2 test/dummy/db/migrate/20151102165858_create_push_type_assets.push_type.rb
push_type_wysiwyg-0.6.0.beta.1 test/dummy/db/migrate/20151015181739_create_push_type_assets.push_type.rb
push_type_core-0.6.0.beta.1 test/dummy/db/migrate/20151015181656_create_push_type_assets.push_type.rb
push_type_auth-0.6.0.beta.1 test/dummy/db/migrate/20151015181750_create_push_type_assets.push_type.rb
push_type_admin-0.6.0.beta.1 test/dummy/db/migrate/20151015181715_create_push_type_assets.push_type.rb
push_type_wysiwyg-0.5.3 test/dummy/db/migrate/20150928114741_create_push_type_assets.push_type.rb
push_type_core-0.5.3 test/dummy/db/migrate/20150928114662_create_push_type_assets.push_type.rb