We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c1acd8 + 032922e commit a8fa1feCopy full SHA for a8fa1fe
1 file changed
config/initializers/apartment.rb
@@ -73,11 +73,11 @@
73
# end
74
#
75
# Executed after the creation of a new Tenant. This is useful for creating extensions or running setup specific to a Tenant.
76
- config.before_create = lambda do |tenant_name|
77
- ActiveRecord::Base.connection.execute(<<-SQL)
78
- SELECT deploy_postgis();
79
- SQL
80
- end
+ # config.before_create = lambda do |tenant_name|
+ # ActiveRecord::Base.connection.execute(<<-SQL)
+ # SELECT deploy_postgis();
+ # SQL
+ # end
81
82
config.tenant_names = lambda do
83
ActiveRecord::Base.connection
0 commit comments