Skip to content

Commit

Permalink
VP-4670: Remove dbo schema prefix in migration scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
akak1977 committed Sep 8, 2020
1 parent c532cc2 commit b5a924c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ protected override void Up(MigrationBuilder migrationBuilder)
migrationBuilder.Sql(@"IF (EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = '__MigrationHistory'))
IF (EXISTS (SELECT * FROM __MigrationHistory WHERE ContextKey = 'VirtoCommerce.PricingModule.Data.Migrations.Configuration'))
BEGIN
INSERT INTO [dbo].[__EFMigrationsHistory] ([MigrationId],[ProductVersion]) VALUES ('20190520064847_InitialPricing', '2.2.3-servicing-35854')
INSERT INTO [dbo].[__EFMigrationsHistory] ([MigrationId],[ProductVersion]) VALUES ('20191009090449_AddPriceStartDateAndEndDate', '2.2.3-servicing-35854')
INSERT INTO [__EFMigrationsHistory] ([MigrationId],[ProductVersion]) VALUES ('20190520064847_InitialPricing', '2.2.3-servicing-35854')
INSERT INTO [__EFMigrationsHistory] ([MigrationId],[ProductVersion]) VALUES ('20191009090449_AddPriceStartDateAndEndDate', '2.2.3-servicing-35854')
UPDATE [PricelistAssignment] SET [PredicateVisualTreeSerialized] = REPLACE([PredicateVisualTreeSerialized], 'ConditionExpressionTree', 'PriceConditionTree')
UPDATE [PricelistAssignment] SET [ConditionExpression] = null
Expand Down

0 comments on commit b5a924c

Please sign in to comment.