chore(db): update sqlc
This commit is contained in:
parent
fe81b57a34
commit
c4602c8c3b
@ -1,6 +1,6 @@
|
|||||||
// Code generated by sqlc. DO NOT EDIT.
|
// Code generated by sqlc. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// sqlc v1.21.0
|
// sqlc v1.25.0
|
||||||
|
|
||||||
package database
|
package database
|
||||||
|
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
// Code generated by sqlc. DO NOT EDIT.
|
// Code generated by sqlc. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// sqlc v1.21.0
|
// sqlc v1.25.0
|
||||||
|
|
||||||
package database
|
package database
|
||||||
|
|
||||||
import (
|
import ()
|
||||||
"database/sql"
|
|
||||||
)
|
|
||||||
|
|
||||||
type Activity struct {
|
type Activity struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
@ -121,23 +119,23 @@ type UserStreak struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ViewDocumentUserStatistic struct {
|
type ViewDocumentUserStatistic struct {
|
||||||
DocumentID string `json:"document_id"`
|
DocumentID string `json:"document_id"`
|
||||||
UserID string `json:"user_id"`
|
UserID string `json:"user_id"`
|
||||||
Percentage float64 `json:"percentage"`
|
Percentage float64 `json:"percentage"`
|
||||||
LastRead interface{} `json:"last_read"`
|
LastRead interface{} `json:"last_read"`
|
||||||
ReadPercentage sql.NullFloat64 `json:"read_percentage"`
|
ReadPercentage *float64 `json:"read_percentage"`
|
||||||
TotalTimeSeconds sql.NullFloat64 `json:"total_time_seconds"`
|
TotalTimeSeconds *float64 `json:"total_time_seconds"`
|
||||||
TotalWordsRead interface{} `json:"total_words_read"`
|
TotalWordsRead interface{} `json:"total_words_read"`
|
||||||
TotalWpm int64 `json:"total_wpm"`
|
TotalWpm int64 `json:"total_wpm"`
|
||||||
YearlyTimeSeconds sql.NullFloat64 `json:"yearly_time_seconds"`
|
YearlyTimeSeconds *float64 `json:"yearly_time_seconds"`
|
||||||
YearlyWordsRead interface{} `json:"yearly_words_read"`
|
YearlyWordsRead interface{} `json:"yearly_words_read"`
|
||||||
YearlyWpm interface{} `json:"yearly_wpm"`
|
YearlyWpm interface{} `json:"yearly_wpm"`
|
||||||
MonthlyTimeSeconds sql.NullFloat64 `json:"monthly_time_seconds"`
|
MonthlyTimeSeconds *float64 `json:"monthly_time_seconds"`
|
||||||
MonthlyWordsRead interface{} `json:"monthly_words_read"`
|
MonthlyWordsRead interface{} `json:"monthly_words_read"`
|
||||||
MonthlyWpm interface{} `json:"monthly_wpm"`
|
MonthlyWpm interface{} `json:"monthly_wpm"`
|
||||||
WeeklyTimeSeconds sql.NullFloat64 `json:"weekly_time_seconds"`
|
WeeklyTimeSeconds *float64 `json:"weekly_time_seconds"`
|
||||||
WeeklyWordsRead interface{} `json:"weekly_words_read"`
|
WeeklyWordsRead interface{} `json:"weekly_words_read"`
|
||||||
WeeklyWpm interface{} `json:"weekly_wpm"`
|
WeeklyWpm interface{} `json:"weekly_wpm"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ViewUserStreak struct {
|
type ViewUserStreak struct {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Code generated by sqlc. DO NOT EDIT.
|
// Code generated by sqlc. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// sqlc v1.21.0
|
// sqlc v1.25.0
|
||||||
// source: query.sql
|
// source: query.sql
|
||||||
|
|
||||||
package database
|
package database
|
||||||
|
Loading…
Reference in New Issue
Block a user