You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue generally revolves around the default constraints not having the expected name. To resolve this you should identify the table and the problematic constraint and manually drop the constraint:
318
+
319
+
```sql
320
+
ALTERTABLE [dbo].[umbracoCommerceGiftCard]
321
+
DROP CONSTRAINT remainingAmount_default;
322
+
```
323
+
324
+
This will remove the constraint allowing the migrations to run which should re-add the constraints with the correct name.
325
+
305
326
[^1]: Vendr previously used the `.js` file extension to serve JSON files without having to configure a new `.json` mime-type on the server. This is no longer necessary in Umbraco Commerce so we can now use the correct `.json` file extension.
The issue generally revolves around the default constraints not having the expected name. To resolve this you should identify the table and the problematic constraint and manually drop the constraint:
318
+
319
+
```sql
320
+
ALTERTABLE [dbo].[umbracoCommerceGiftCard]
321
+
DROP CONSTRAINT remainingAmount_default;
322
+
```
323
+
324
+
This will remove the constraint allowing the migrations to run which should re-add the constraints with the correct name.
325
+
305
326
[^1]: Vendr previously used the `.js` file extension to serve JSON files without having to configure a new `.json` mime-type on the server. This is no longer necessary in Umbraco Commerce so we can now use the correct `.json` file extension.
The issue generally revolves around the default constraints not having the expected name. To resolve this you should identify the table and the problematic constraint and manually drop the constraint:
318
+
319
+
```sql
320
+
ALTERTABLE [dbo].[umbracoCommerceGiftCard]
321
+
DROP CONSTRAINT remainingAmount_default;
322
+
```
323
+
324
+
This will remove the constraint allowing the migrations to run which should re-add the constraints with the correct name.
325
+
305
326
[^1]: Vendr previously used the `.js` file extension to serve JSON files without having to configure a new `.json` mime-type on the server. This is no longer necessary in Umbraco Commerce so we can now use the correct `.json` file extension.
The issue generally revolves around the default constraints not having the expected name. To resolve this you should identify the table and the problematic constraint and manually drop the constraint:
318
+
319
+
```sql
320
+
ALTERTABLE [dbo].[umbracoCommerceGiftCard]
321
+
DROP CONSTRAINT remainingAmount_default;
322
+
```
323
+
324
+
This will remove the constraint allowing the migrations to run which should re-add the constraints with the correct name.
325
+
305
326
[^1]: Vendr previously used the `.js` file extension to serve JSON files without having to configure a new `.json` mime-type on the server. This is no longer necessary in Umbraco Commerce so we can now use the correct `.json` file extension.
The issue generally revolves around the default constraints not having the expected name. To resolve this you should identify the table and the problematic constraint and manually drop the constraint:
318
+
319
+
```sql
320
+
ALTERTABLE [dbo].[umbracoCommerceGiftCard]
321
+
DROP CONSTRAINT remainingAmount_default;
322
+
```
323
+
324
+
This will remove the constraint allowing the migrations to run which should re-add the constraints with the correct name.
325
+
305
326
[^1]: Vendr previously used the `.js` file extension to serve JSON files without having to configure a new `.json` mime-type on the server. This is no longer necessary in Umbraco Commerce so we can now use the correct `.json` file extension.
0 commit comments