Fix schema types in migrate script (#143)

This commit is contained in:
Hammad Jutt
2020-10-09 23:50:19 -06:00
committed by GitHub
parent 13d5967f92
commit e6ab0cfe78
2 changed files with 3 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ export const migrateSourceCredAccounts = async (
const resultInsert = await client.UpsertPlayer({
objects: usersToInsert,
onConflict: {
constraint: Player_Constraint.PlayerEthereumAddressKey,
constraint: Player_Constraint.PlayerEthereumAddressUniqueKey,
update_columns: [
Player_Update_Column.ScIdentityId,
Player_Update_Column.Username,