mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
4a17f30da8
* First pass at browser, discord, twilio notifications * Commit updated Javascript packages * Remove twilio notification support * Email notifications/smtp support * Fix Firefox notification support, remove chrome checks * WIP more email work * Add support for twitter notifications * Add stream title to discord and twitter notifications * Update notification registration modal * Fix hide/show email section * Commit updated API documentation * Commit updated Javascript packages * Fix post-rebase missing var * Remove unused var * Handle unsubscribe errors for browser push * Standardize email config prop names * Allow overriding go live email template * Some notifications cleanup * Commit updated Javascript packages * Remove email/smtp/mailjet support * Remove more references to email notifications Co-authored-by: Owncast <owncast@owncast.online> |
||
---|---|---|
.. | ||
db.go | ||
models.go | ||
query.sql | ||
query.sql.go | ||
README.md | ||
schema.sql |
SQL Queries
sqlc generates type-safe code from SQL. Here's how it works:
- You define the schema in
schema.sql
. - You write your queries in
query.sql
using regular SQL. - You run
sqlc generate
to generate Go code with type-safe interfaces to those queries. - You write application code that calls the generated code.
Only those who need to create or update SQL queries will need to have sqlc
installed on their system. It is not a dependency required to build the codebase.
Install sqlc
Snap
sudo snap install sqlc
Go install
go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
macOS
brew install sqlc
Download a release
Visit https://github.com/kyleconroy/sqlc/releases to download a release for your environment.