Add quote arround table name
This commit is contained in:
1 parent
7eb928752e
commit
68392d192d
1 file changed
+1
-1
@@ -1282,7 +1282,7 @@ class ModelSQL(ModelStorage):
|
||||
table_query = '(' + table_query + ') AS '
|
||||
|
||||
if self._history and context.get('_datetime'):
|
||||
table_query = self._table + '__history AS '
|
||||
table_query = '"' + self._table + '__history" AS '
|
||||
|
||||
tables = [table_query + '"' + self._table + '"']
|
||||
|
||||
|
||||
Reference in new issue
Block a user