Sha256: 50821d2b569b5eef9302c75adfacc49b9bbea98e696e52ac805c0e9724e1ac0d
Contents?: true
Size: 508 Bytes
Versions: 39
Compression:
Stored size: 508 Bytes
Contents
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
39 entries across 39 versions & 1 rubygems