Sha256: b96aa8cc540f408f5fd88f9d5bc0c5cde7000c793d1482b84527543feb5a4696
Contents?: true
Size: 303 Bytes
Versions: 74
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true class CreateDefaultShard < ActiveRecord::Migration[4.2] def up return if Switchman::Shard.default.is_a?(Switchman::Shard) Switchman::Shard.reset_column_information Switchman::Shard.create!(default: true) Switchman::Shard.default(reload: true) end end
Version data entries
74 entries across 74 versions & 1 rubygems