Enable ImportSupport on Postgresql - the test suite now passes in full
This commit is contained in:
parent
7bd0e2693a
commit
a3e9b4f040
2 changed files with 26 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
module ActiveRecord::Import::PostgreSQLAdapter
|
||||
module InstanceMethods
|
||||
def self.included(klass)
|
||||
klass.instance_eval do
|
||||
include ActiveRecord::Import::ImportSupport
|
||||
end
|
||||
end
|
||||
|
||||
def next_value_for_sequence(sequence_name)
|
||||
%{nextval('#{sequence_name}')}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue