is it a permissions issue?

On Thu, Jan 24, 2019 at 6:00 PM jemmy sapta <jemmy.sapt...@gmail.com> wrote:

> Traceback (most recent call last):
> File "manage.py", line 15, in
> execute_from_command_line(sys.argv)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/
> init.py", line 381, in execute_from_command_line
> utility.execute()
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/
> init.py", line 375, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/base.py",
> line 316, in run_from_argv
> self.execute(*args, **cmd_options)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/base.py",
> line 353, in execute
> output = self.handle(*args, **options)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/base.py",
> line 83, in wrapped
> res = handle_func(*args, **kwargs)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/commands/migrate.py",
> line 203, in handle
> fake_initial=fake_initial,
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/migrations/executor.py",
> line 117, in migrate
> state = self._migrate_all_forwards(state, plan, full_plan, fake=fake,
> fake_initial=fake_initial)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/migrations/executor.py",
> line 147, in _migrate_all_forwards
> state = self.apply_migration(state, migration, fake=fake,
> fake_initial=fake_initial)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/migrations/executor.py",
> line 244, in apply_migration
> state = migration.apply(state, schema_editor)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/migrations/migration.py",
> line 124, in apply
> operation.database_forwards(self.app_label, schema_editor, old_state,
> project_state)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/migrations/operations/fields.py",
> line 216, in database_forwards
> schema_editor.alter_field(from_model, from_field, to_field)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/base/schema.py",
> line 523, in alter_field
> old_db_params, new_db_params, strict)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/postgresql/schema.py",
> line 122, in _alter_field
> new_db_params, strict,
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/base/schema.py",
> line 531, in _alter_field
> fk_names = self._constraint_names(model, [old_field.column],
> foreign_key=True)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/base/schema.py",
> line 1029, in _constraint_names
> constraints = self.connection.introspection.get_constraints(cursor,
> model._meta.db_table)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/postgresql/introspection.py",
> line 158, in get_constraints
> """, ["public", table_name])
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/utils.py",
> line 100, in execute
> return super().execute(sql, params)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/utils.py",
> line 68, in execute
> return self._execute_with_wrappers(sql, params, many=False,
> executor=self._execute)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/utils.py",
> line 77, in _execute_with_wrappers
> return executor(sql, params, many, context)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/utils.py",
> line 85, in _execute
> return self.cursor.execute(sql, params)
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/utils.py",
> line 89, in exit
> raise dj_exc_value.with_traceback(traceback) from exc_value
> File
> "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/db/backends/utils.py",
> line 85, in _execute
> return self.cursor.execute(sql, params)
> django.db.utils.ProgrammingError: syntax error at or near "WITH ORDINALITY"
> LINE 6: FROM unnest(c.conkey) WITH ORDINALITY co...
>
> ==================================================================
> My Server : centos 7
> python v.3.6
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b6f5452e-82de-4df5-8871-8c60ce70639e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/b6f5452e-82de-4df5-8871-8c60ce70639e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHV4E-d9eynTE7Tpun1Jyn1p4Z%2BhT2hAbAocCyD1JP8cc5HXSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to