lib/monkey_patch_postgres.rb in partitioned-1.3.5 vs lib/monkey_patch_postgres.rb in partitioned-2.0.0

- old
+ new

@@ -8,22 +8,9 @@ # {ActiveRecord::ConnectionAdapters::PostgreSQLAdapter} to add functionality # needed to abstract partition specific SQL statements. # module ActiveRecord::ConnectionAdapters # - # Patches associated with building check constraints. - # - class TableDefinition - # - # Builds a SQL check constraint - # - # @param [String] constraint a SQL constraint - def check_constraint(constraint) - @columns << Struct.new(:to_sql).new("CHECK (#{constraint})") - end - end - - # # Patches extending the postgres adapter with new operations for managing # sequences (and sets of sequence values), schemas and foreign keys. # These should go into AbstractAdapter allowing any database adapter # to take advantage of these SQL builders. #