diff --git a/dal/sqlcgen/queries.sql.go b/dal/sqlcgen/queries.sql.go index 2769ffa..c134333 100644 --- a/dal/sqlcgen/queries.sql.go +++ b/dal/sqlcgen/queries.sql.go @@ -3402,12 +3402,11 @@ func (q *Queries) TemplateCopy(ctx context.Context, arg TemplateCopyParams) (int } const updateAmoAccount = `-- name: UpdateAmoAccount :exec -UPDATE accountsAmo SET AmoID = $2, Name = $3, Subdomain = $4, Country = $5, DriveURL = $6 WHERE AccountID = $1 AND Deleted = false +UPDATE accountsAmo SET Name = $2, Subdomain = $3, Country = $4, DriveURL = $5 WHERE AccountID = $1 AND Deleted = false ` type UpdateAmoAccountParams struct { Accountid string `db:"accountid" json:"accountid"` - Amoid int32 `db:"amoid" json:"amoid"` Name string `db:"name" json:"name"` Subdomain string `db:"subdomain" json:"subdomain"` Country string `db:"country" json:"country"` @@ -3417,7 +3416,6 @@ type UpdateAmoAccountParams struct { func (q *Queries) UpdateAmoAccount(ctx context.Context, arg UpdateAmoAccountParams) error { _, err := q.db.ExecContext(ctx, updateAmoAccount, arg.Accountid, - arg.Amoid, arg.Name, arg.Subdomain, arg.Country,