mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-08 02:49:17 -05:00
092f54c64f
* refactor: separate api and engine repositories, change ticker logic * fix: nil error blocks * fix: run migration on load test * fix: generate db package in load test * fix: test.yml * fix: add pnpm to load test * fix: don't lock CTEs with columns that don't get updated * fix: update heartbeat for worker every 4 seconds, not 5 * chore: remove dead code * chore: update python sdk * chore: add back telemetry attributes
13 lines
179 B
SQL
13 lines
179 B
SQL
-- name: ListTenants :many
|
|
SELECT
|
|
*
|
|
FROM
|
|
"Tenant" as tenants;
|
|
|
|
-- name: GetTenantByID :one
|
|
SELECT
|
|
*
|
|
FROM
|
|
"Tenant" as tenants
|
|
WHERE
|
|
"id" = sqlc.arg('id')::uuid; |