mirror of
https://github.com/lightninglabs/faraday.git
synced 2026-08-13 12:33:35 +02:00
We want to know if an update came from an initial sync. This also helps us to identify data gaps and one can be sure it was not due to an actual event. Modify the migration as it's unreleased.
32 lines
503 B
Go
32 lines
503 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.25.0
|
|
|
|
package sqlc
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
type Channel struct {
|
|
ID int64
|
|
ChannelPoint string
|
|
ShortChannelID int64
|
|
PeerID int64
|
|
}
|
|
|
|
type ChannelEvent struct {
|
|
ID int64
|
|
ChannelID int64
|
|
EventType int16
|
|
Timestamp time.Time
|
|
LocalBalanceSat sql.NullInt64
|
|
RemoteBalanceSat sql.NullInt64
|
|
IsSync bool
|
|
}
|
|
|
|
type Peer struct {
|
|
ID int64
|
|
Pubkey string
|
|
}
|