1 | Traceback (most recent call last):
|
---|
2 | File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
3 | return self.cursor.execute(sql, params)
|
---|
4 | psycopg2.ProgrammingError: syntax error at or near "object"
|
---|
5 | LINE 1: ...obability" <@ <psycopg2._range.NumberRangeAdapter object at ...
|
---|
6 | ^
|
---|
7 |
|
---|
8 |
|
---|
9 | The above exception was the direct cause of the following exception:
|
---|
10 |
|
---|
11 | Traceback (most recent call last):
|
---|
12 | File "./manage.py", line 15, in <module>
|
---|
13 | execute_from_command_line(sys.argv)
|
---|
14 | File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
|
---|
15 | utility.execute()
|
---|
16 | File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 375, in execute
|
---|
17 | self.fetch_command(subcommand).run_from_argv(self.argv)
|
---|
18 | File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 323, in run_from_argv
|
---|
19 | self.execute(*args, **cmd_options)
|
---|
20 | File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 364, in execute
|
---|
21 | output = self.handle(*args, **options)
|
---|
22 | File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 83, in wrapped
|
---|
23 | res = handle_func(*args, **kwargs)
|
---|
24 | File "/usr/lib/python3/dist-packages/django/core/management/commands/migrate.py", line 234, in handle
|
---|
25 | fake_initial=fake_initial,
|
---|
26 | File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 117, in migrate
|
---|
27 | state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
|
---|
28 | File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
|
---|
29 | state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
|
---|
30 | File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 245, in apply_migration
|
---|
31 | state = migration.apply(state, schema_editor)
|
---|
32 | File "/usr/lib/python3/dist-packages/django/db/migrations/migration.py", line 124, in apply
|
---|
33 | operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
|
---|
34 | File "/usr/lib/python3/dist-packages/django/db/migrations/operations/models.py", line 827, in database_forwards
|
---|
35 | schema_editor.add_constraint(model, self.constraint)
|
---|
36 | File "/usr/lib/python3/dist-packages/django/db/backends/base/schema.py", line 345, in add_constraint
|
---|
37 | self.execute(sql)
|
---|
38 | File "/usr/lib/python3/dist-packages/django/db/backends/base/schema.py", line 137, in execute
|
---|
39 | cursor.execute(sql, params)
|
---|
40 | File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 99, in execute
|
---|
41 | return super().execute(sql, params)
|
---|
42 | File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 67, in execute
|
---|
43 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
|
---|
44 | File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
|
---|
45 | return executor(sql, params, many, context)
|
---|
46 | File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
47 | return self.cursor.execute(sql, params)
|
---|
48 | File "/usr/lib/python3/dist-packages/django/db/utils.py", line 89, in __exit__
|
---|
49 | raise dj_exc_value.with_traceback(traceback) from exc_value
|
---|
50 | File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
51 | return self.cursor.execute(sql, params)
|
---|
52 | django.db.utils.ProgrammingError: syntax error at or near "object"
|
---|
53 | LINE 1: ...obability" <@ <psycopg2._range.NumberRangeAdapter object at ...
|
---|
54 | ^
|
---|
55 |
|
---|