Quickfix 080323/bad cast (#142)

* update cast to str

* add second str cast

* int
This commit is contained in:
Jack Forgash 2023-08-03 11:07:39 -06:00 committed by GitHub
parent f8ee61adf2
commit 67790931a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ FROM
nft_txs A
JOIN silver_events b
ON A.tx_id = b.tx_id
AND A.nft_id = b.event_data :id :: INT
AND A.nft_id :: STRING = b.event_data :id :: STRING
WHERE
event_data :to IS NOT NULL
AND A.event_index <> b.event_index