version stored procedure due to previous changes made (#1176)

This commit is contained in:
Bernd Verst 2021-09-29 18:16:16 -07:00 committed by GitHub
parent 9a075cb43a
commit 317db02783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func (m *migration) newMigrationResult() migrationResult {
r := migrationResult{
bulkDeleteProcName: fmt.Sprintf("sp_BulkDelete_%s", m.store.tableName),
itemRefTableTypeName: fmt.Sprintf("[%s].%s_Table", m.store.schema, m.store.tableName),
upsertProcName: fmt.Sprintf("sp_Upsert_%s", m.store.tableName),
upsertProcName: fmt.Sprintf("sp_Upsert_v2_%s", m.store.tableName),
getCommand: fmt.Sprintf("SELECT [Data], [RowVersion] FROM [%s].[%s] WHERE [Key] = @Key", m.store.schema, m.store.tableName),
deleteWithETagCommand: fmt.Sprintf(`DELETE [%s].[%s] WHERE [Key]=@Key AND [RowVersion]=@RowVersion`, m.store.schema, m.store.tableName),
deleteWithoutETagCommand: fmt.Sprintf(`DELETE [%s].[%s] WHERE [Key]=@Key`, m.store.schema, m.store.tableName),