mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Fix for club tools
This commit is contained in:
@ -26,6 +26,10 @@ from django.db import connection, migrations
|
||||
|
||||
|
||||
class PsqlRunOnly(migrations.RunSQL):
|
||||
"""
|
||||
Usefull for migrations with specific postgresql commands
|
||||
Avoid breaking tests and local dev environnment
|
||||
"""
|
||||
|
||||
def _run_sql(self, schema_editor, sqls):
|
||||
if connection.vendor == 'postgresql':
|
||||
|
Reference in New Issue
Block a user