We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fed110 commit e5bc396Copy full SHA for e5bc396
lib/apartment/active_record/postgresql_adapter.rb
@@ -8,6 +8,8 @@
8
module Apartment::PostgreSqlAdapterPatch
9
def default_sequence_name(table, _column)
10
res = super
11
+ res.delete!('"') # if rescued in super_method, trim leading and trailing quotes
12
+
13
schema_prefix = "#{Apartment::Tenant.current}."
14
default_tenant_prefix = "#{Apartment::Tenant.default_tenant}."
15
0 commit comments