class ActiveVault::CreateBlobs < ActiveRecord::Migration[5.1] def change create_table :rails_blobs do |t| t.string :key t.string :filename t.string :content_type t.text :metadata t.integer :byte_size t.string :checksum t.time :created_at t.index [ :key ], unique: true end end end