Changes between Initial Version and Version 1 of Ticket #30664
- Timestamp:
- Jul 27, 2019, 1:11:42 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30664 – Description
initial v1 2 2 3 3 I suppose following generated query causes the error: 4 4 {{{ 5 5 CREATE TABLE "new__"table_with_quoted_name"" ("obj_id" integer NOT NULL PRIMARY KEY, "obj_num" varchar(20) NULL, "country_id" integer NOT NULL REFERENCES "countries" ("country_id") DEFERRABLE INITIALLY DEFERRED) 6 6 }}} 7 7 To reproduce table with quoted name should have at least one foreign key. 8 8 … … 11 11 12 12 Traceback: 13 13 {{{ 14 14 Traceback (most recent call last): 15 15 File "…/django/db/backends/utils.py", line 82, in _execute … … 60 60 return Database.Cursor.execute(self, query) 61 61 django.db.utils.OperationalError: near "table_with_quoted_name": syntax error 62 }}}