class Apartment::Adapters::PostgresqlAdapter
def drop(tenant)
def drop(tenant) # Apartment.connection.drop_database note that drop_database will not throw an exception, so manually execute Apartment.connection.execute(%{DROP DATABASE "#{tenant}"}) rescue *rescuable_exceptions raise DatabaseNotFound, "The tenant #{tenant} cannot be found" end