chore: restore rls.py

This commit is contained in:
Adrián Jesús Peña Rodríguez committed 2025-02-12 16:53:06 +01:00
1 parent 492e9f24a2
commit 32e880e9c4
1 file changed
+3 -1
+3 -1
View File
@@ -88,7 +88,9 @@ class RowLevelSecurityConstraint(models.BaseConstraint):
f"{grant_queries}{self.grant_sql_query.format(statement=statement)}"
)
full_create_sql_query = f"{self.rls_sql_query}{policy_queries}{grant_queries}"
full_create_sql_query = (
f"{self.rls_sql_query}" f"{policy_queries}" f"{grant_queries}"
)
table_name = model._meta.db_table
if self.partition_name: