Sha256: d79068463044da58422a753a6df603d4b2b1b32170137cfa8fc931a42461c2b7
Contents?: true
Size: 730 Bytes
Versions: 7
Compression:
Stored size: 730 Bytes
Contents
# frozen_string_literal: true require 'active_record/connection_adapters/abstract_adapter' module Ridgepole module Ext module AbstractAdapter module Partitioning def partition(*) nil end def partition_tables [] end # SchemaStatements def create_partition(*) raise NotImplementedError end def add_partition(*) raise NotImplementedError end def remove_partition(*) raise NotImplementedError end end end end end module ActiveRecord module ConnectionAdapters class AbstractAdapter prepend Ridgepole::Ext::AbstractAdapter::Partitioning end end end
Version data entries
7 entries across 7 versions & 1 rubygems