Traceback (most recent call last): File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\utils.py", line 82, in _execute return self.cursor.execute(sql) psycopg2.errors.UndefinedColumn: column c.relispartition does not exist LINE 3: CASE WHEN c.relispartition THEN 'p' WHEN c.relki... ^
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "C:\Users\oluiznunes\Desktop\projeto\manage.py", line 22, in main() File "C:\Users\oluiznunes\Desktop\projeto\manage.py", line 18, in main execute_from_command_line(sys.argv) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\core\management_init__.py", line 425, in executefrom_command_line utility.execute() File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\core\management_init__.py", line 419, in execute self.fetchcommand(subcommand).run_from_argv(self.argv) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\core\management\base.py", line 373, in run_from_argv self.execute(args, **cmd_options) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\core\management\base.py", line 417, in execute output = self.handle(args, *options) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\core\management\base.py", line 90, in wrapped res = handle_func(args, **kwargs) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\core\management\commands\makemigrations.py", line 103, in handle loader.check_consistent_history(connection) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\migrations\loader.py", line 297, in check_consistent_history applied = recorder.applied_migrations() File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\migrations\recorder.py", line 77, in applied_migrations if self.has_table(): File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\migrations\recorder.py", line 56, in has_table tables = self.connection.introspection.table_names(cursor) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\base\introspection.py", line 52, in table_names return get_names(cursor) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\base\introspection.py", line 47, in get_names return sorted(ti.name for ti in self.get_table_list(cursor) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\postgresql\introspection.py", line 49, in get_table_list cursor.execute(""" File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\utils.py", line 98, in execute return super().execute(sql, params) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\utils.py", line 67, in execute return self.executewith_wrappers(sql, params, many=False, executor=self.execute) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\utils.py", line 76, in _executewith_wrappers return executor(sql, params, many, context) File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\utils.py", line 80, in execute with self.db.wrapdatabase_errors: File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\utils.py", line 90, in exit raise dj_exc_value.with_traceback(traceback) from exc_value File "C:\Users\oluiznunes\Desktop\projeto\env\lib\site-packages\django\db\backends\utils.py", line 82, in _execute return self.cursor.execute(sql) django.db.utils.ProgrammingError: column c.relispartition does not exist LINE 3: CASE WHEN c.relispartition THEN 'p' WHEN c.relki...
https://github.com/OtavioValadao/alurareceitas