django_migrations 输出 ORA-02000:缺少 ALWAYS 关键字?
django_migrations outputs ORA-02000: missing ALWAYS keyword?
当我尝试 运行 python manage.py 迁移命令时,出现以下错误
raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc)
和
django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (ORA-02000: missing ALWAYS keyword)
注:
我可以读写 oracle 数据库并使用 PYCharm IDE.
谢谢。
看起来您使用的是 <12.1 的旧 Oracle 版本。 Oracle 仅从 12.1 (generate always
) 开始支持虚拟生成列
将其升级到 Oracle 19,或至少升级到 12.2(高级支持将在 4 天后 - 3 月 31 日结束)
当我尝试 运行 python manage.py 迁移命令时,出现以下错误
raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc)
和
django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (ORA-02000: missing ALWAYS keyword)
注:
我可以读写 oracle 数据库并使用 PYCharm IDE.
谢谢。
看起来您使用的是 <12.1 的旧 Oracle 版本。 Oracle 仅从 12.1 (generate always
) 开始支持虚拟生成列
将其升级到 Oracle 19,或至少升级到 12.2(高级支持将在 4 天后 - 3 月 31 日结束)