Sha256: 0e5c33d640393cef7a0741745245717aa648f14784f651790dd4c5d640805a2e
Contents?: true
Size: 317 Bytes
Versions: 15
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true class CreateSearches < ActiveRecord::Migration def self.up create_table :searches do |t| t.binary :query_params t.integer :user_id, index: true t.string :user_type t.timestamps null: false end end def self.down drop_table :searches end end
Version data entries
15 entries across 15 versions & 1 rubygems