Sha256: c6f132de7da3d8632210d9a46c2cd12800c57705928e5f4728c1cb22471ae48b
Contents?: true
Size: 302 Bytes
Versions: 12
Compression:
Stored size: 302 Bytes
Contents
class AddTemporalExtensionToImpressions < ActiveRecord::Migration[5.0] def self.up enable_extension 'btree_gist' unless extension_enabled?('btree_gist') change_table :impressions, temporal: true, copy_data: true end def self.down change_table :impressions, temporal: false end end
Version data entries
12 entries across 12 versions & 1 rubygems