Column 'django_migrations.id' has unsupported type 'serial' [ with Amazon Redshift]

后端 未结 1 1976
半阙折子戏
半阙折子戏 2021-01-12 11:07

I use django_celery with connecting to Amazon Redshift. To migrate database, after \"makemigrations\" I used command \"python manage.py migrate\" and error message show up a

相关标签:
1条回答
  • 2021-01-12 11:32

    Are you trying to use Redshift as the backend database for your web application? That's a bad idea, Redshift is a data warehouse and as such individual query performance and latency are far from great, not to mention that Redshift doesn't enforce primary keys, which almost surely Django expects.

    My recommendation, use PostgreSQL.

    0 讨论(0)
提交回复
热议问题