We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a075cb commit 8ccb134Copy full SHA for 8ccb134
state/sqlserver/migration.go
@@ -41,7 +41,7 @@ func (m *migration) newMigrationResult() migrationResult {
41
r := migrationResult{
42
bulkDeleteProcName: fmt.Sprintf("sp_BulkDelete_%s", m.store.tableName),
43
itemRefTableTypeName: fmt.Sprintf("[%s].%s_Table", m.store.schema, m.store.tableName),
44
- upsertProcName: fmt.Sprintf("sp_Upsert_%s", m.store.tableName),
+ upsertProcName: fmt.Sprintf("sp_Upsert_v2_%s", m.store.tableName),
45
getCommand: fmt.Sprintf("SELECT [Data], [RowVersion] FROM [%s].[%s] WHERE [Key] = @Key", m.store.schema, m.store.tableName),
46
deleteWithETagCommand: fmt.Sprintf(`DELETE [%s].[%s] WHERE [Key]=@Key AND [RowVersion]=@RowVersion`, m.store.schema, m.store.tableName),
47
deleteWithoutETagCommand: fmt.Sprintf(`DELETE [%s].[%s] WHERE [Key]=@Key`, m.store.schema, m.store.tableName),
0 commit comments