Sha256: 904e207eb6e50bf3cda28ff69039bd86b0a7394001fee3ff9cbe39b92489f538
Contents?: true
Size: 579 Bytes
Versions: 28
Compression:
Stored size: 579 Bytes
Contents
# This migration comes from push_type (originally 20141127151930) class CreatePushTypeAssets < ActiveRecord::Migration[4.2] 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
28 entries across 28 versions & 4 rubygems