# Migration to Azure sql Db issue

**URL:** <https://forum.djangoproject.com/t/migration-to-azure-sql-db-issue/24030>\
**Category:** Deployment\
**Created:** [September 21, 2023, 3:46pm UTC](https://forum.djangoproject.com/t/migration-to-azure-sql-db-issue/24030 "2023-09-21T15:46:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamvishnuram](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/iamvishnuram/32/16059_2.png) [@iamvishnuram](https://forum.djangoproject.com/u/iamvishnuram)\
**Post date:** [September 21, 2023, 3:46pm UTC](https://forum.djangoproject.com/t/migration-to-azure-sql-db-issue/24030/1 "2023-09-21T15:46:55Z")

</div>

django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django\_migrations table ((‘42000’, ‘[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Enforced unique constraints are not supported. To create an unenforced unique constraint you must include the NOT ENFORCED syntax as part of your statement. (104467) (SQLExecDirectW)’))
