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
CREATEINDEX [IX_PictureId] ON [Manufacturer]([PictureId])
143
136
END
144
137
GO
145
-
146
138
IFNOTEXISTS (SELECT1FROMsys.foreign_keysWHEREobject_id=OBJECT_ID(N'[FK_dbo.Manufacturer_dbo.Picture_PictureId]') AND parent_object_id =OBJECT_ID(N'[Manufacturer]'))
Copy file name to clipboardExpand all lines: src/Presentation/SmartStore.Web/App_Data/Migrations/1.2.1-1.3.0/4-migrate-improved-product-structure-core.sql
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1738,9 +1738,21 @@ ALTER TABLE [Product]
1738
1738
ALTER COLUMN [HasSampleDownload] bitNOTNULL
1739
1739
GO
1740
1740
1741
-
ALTERTABLE [Product]
1742
-
ALTER COLUMN [SampleDownloadId] intNOTNULL
1741
+
Update [Product] SET SampleDownloadId =nullWHERE SampleDownloadId =0
0 commit comments