mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 22:07:15 +00:00
chore: fix delete workspace_user
This commit is contained in:
parent
cf5b18d150
commit
fbe09d7cd0
@ -162,9 +162,9 @@ func findWorkspaceUserList(ctx context.Context, tx *sql.Tx, find *api.WorkspaceU
|
|||||||
role,
|
role,
|
||||||
created_ts,
|
created_ts,
|
||||||
updated_ts
|
updated_ts
|
||||||
FROM workspace
|
FROM workspace_user
|
||||||
WHERE ` + strings.Join(where, " AND ") + `
|
WHERE ` + strings.Join(where, " AND ") + `
|
||||||
ORDER BY updated_ts DESC, created_ts DESC, row_status DESC
|
ORDER BY updated_ts DESC, created_ts DESC
|
||||||
`
|
`
|
||||||
rows, err := tx.QueryContext(ctx, query, args...)
|
rows, err := tx.QueryContext(ctx, query, args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user