django / channels

Developer-friendly asynchrony for Django
https://channels.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.01k stars 793 forks source link

How can I change the schema in the database? #2071

Closed williank closed 4 months ago

williank commented 4 months ago

Something like the code below within consumers or through the router?

with connection.cursor() as cursor:
        cursor.execute("SET search_path TO {}".format('altelecom'))
carltongibson commented 4 months ago

Sorry, this isn't a channels question. Try Stack Overflow or similar.