mirror of https://github.com/TZGyn/shortener
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.8 KiB
Go
86 lines
1.8 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.27.0
|
|
|
|
package db
|
|
|
|
import (
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
)
|
|
|
|
type EmailVerificationToken struct {
|
|
ID string
|
|
UserID int32
|
|
Email string
|
|
ExpiresAt pgtype.Timestamptz
|
|
}
|
|
|
|
type Project struct {
|
|
ID string
|
|
Uuid pgtype.UUID
|
|
Name string
|
|
UserID string
|
|
QrBackground string
|
|
QrForeground string
|
|
CustomDomain pgtype.Text
|
|
DomainStatus string
|
|
EnableCustomDomain bool
|
|
CustomIp pgtype.Text
|
|
CustomDomainID pgtype.Text
|
|
QrCornerSquareStyle string
|
|
QrDotStyle string
|
|
QrImageBase64 pgtype.Text
|
|
}
|
|
|
|
type Session struct {
|
|
ID string
|
|
UserID string
|
|
ExpiresAt pgtype.Timestamptz
|
|
}
|
|
|
|
type Shortener struct {
|
|
ID string
|
|
Link string
|
|
Code string
|
|
CreatedAt pgtype.Timestamp
|
|
UserID string
|
|
ProjectID pgtype.Text
|
|
Active bool
|
|
Ios bool
|
|
IosLink pgtype.Text
|
|
Android bool
|
|
AndroidLink pgtype.Text
|
|
}
|
|
|
|
type User struct {
|
|
ID string
|
|
Uuid pgtype.UUID
|
|
Email string
|
|
Username pgtype.Text
|
|
Password pgtype.Text
|
|
CreatedAt pgtype.Timestamp
|
|
EmailVerified bool
|
|
GoogleID pgtype.Text
|
|
Plan string
|
|
StripeCustomerID pgtype.Text
|
|
QrCornerSquareStyle string
|
|
QrDotStyle string
|
|
QrBackground string
|
|
QrForeground string
|
|
QrImageBase64 pgtype.Text
|
|
}
|
|
|
|
type Visitor struct {
|
|
ID int32
|
|
ShortenerID string
|
|
CreatedAt pgtype.Timestamp
|
|
CountryCode string
|
|
Country string
|
|
City string
|
|
DeviceType string
|
|
DeviceVendor string
|
|
Os string
|
|
Browser string
|
|
Referer string
|
|
}
|