mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-23 13:17:54 -05:00
Fix schema types in migrate script (#143)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -365,6 +365,7 @@ type BoxProfile {
|
||||
job: String
|
||||
location: String
|
||||
name: String
|
||||
website: String
|
||||
}
|
||||
|
||||
"""
|
||||
@@ -1830,7 +1831,7 @@ unique or primary key constraints on table "Player"
|
||||
"""
|
||||
enum Player_constraint {
|
||||
"""unique or primary key constraint"""
|
||||
Player_ethereum_address_key
|
||||
Player_ethereum_address_unique_key
|
||||
|
||||
"""unique or primary key constraint"""
|
||||
Player_pkey
|
||||
|
||||
Reference in New Issue
Block a user