mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-02-19 22:59:08 -06:00
* wip: api contracts * feat: implement put workflow version endpoint * add support for match existing data, get scaffolding in place for additional triggers * create additional matches * feat: durable sleep, user event matching * update protos * fix: working poc of user events, durable sleep * add migration * fix: migration column * feat: durable event listener * fix: skip overrides * fix: input -> output
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
version: "2"
|
|
sql:
|
|
- engine: "postgresql"
|
|
# database:
|
|
# uri: "postgres://hatchet:hatchet@localhost:5431/hatchet"
|
|
queries:
|
|
- concurrency.sql
|
|
- dags.sql
|
|
- tasks.sql
|
|
- queue.sql
|
|
- triggers.sql
|
|
- workflows.sql
|
|
- lease.sql
|
|
- workers.sql
|
|
- matches.sql
|
|
- olap.sql
|
|
- rate_limits.sql
|
|
- log_line.sql
|
|
- sleep.sql
|
|
- ticker.sql
|
|
schema:
|
|
- ../../../../sql/schema/v0.sql
|
|
- ../../../../sql/schema/v1-core.sql
|
|
- ../../../../sql/schema/v1-olap.sql
|
|
- ./concurrency-additional-tables.sql
|
|
strict_order_by: false
|
|
gen:
|
|
go:
|
|
package: "sqlcv1"
|
|
sql_package: "pgx/v5"
|
|
out: "."
|
|
emit_exact_table_names: true
|
|
emit_methods_with_db_argument: true
|
|
emit_result_struct_pointers: true
|
|
emit_json_tags: true
|
|
overrides:
|
|
- column: "v1_task.concurrency_parent_strategy_ids"
|
|
go_type:
|
|
import: "github.com/jackc/pgx/v5/pgtype"
|
|
type: "Int8"
|
|
slice: true
|