owncast/sqlc.yaml
Gabe Kangas eda62a91dc
Messages table fixes to improve query performance (#2026)
* Move to yaml sqlc config

* Add util for ungraceful sql execs

* Fix messages schema + add indexes

* Add migration to drop+recreate messages table

* Create index only if does not exist

* Fix typo

* Unexport function
2022-08-03 10:21:55 -07:00

7 lines
103 B
YAML

version: 1
packages:
- path: db
name: db
schema: 'db/schema.sql'
queries: 'db/query.sql'