Prepare btcdata for Kubernetes deployment
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
-- queries for btcdata
|
||||
|
||||
-- :name check-database :? :1
|
||||
-- :doc Verify that PostgreSQL accepts queries
|
||||
SELECT 1 AS healthy
|
||||
|
||||
-- :name insert-binance-price! :! :n
|
||||
-- :doc Insert a Binance BTC price
|
||||
INSERT INTO binance_price (price) VALUES (:price)
|
||||
|
||||
Reference in New Issue
Block a user