mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:16:15 -06:00
name etag column correctly
This commit is contained in:
parent
a5e1157ff7
commit
10945e7809
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ type DomainPermissionSubscription struct {
|
|||
FetchPassword string `bun:",nullzero"`
|
||||
FetchedAt time.Time `bun:"type:timestamptz,nullzero"`
|
||||
SuccessfullyFetchedAt time.Time `bun:"type:timestamptz,nullzero"`
|
||||
ETag string `bun:",nullzero"`
|
||||
ETag string `bun:"etag,nullzero"`
|
||||
Error string `bun:",nullzero"`
|
||||
Count uint64 `bun:""`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ type DomainPermissionSubscription struct {
|
|||
FetchPassword string `bun:",nullzero"` // Password to send when doing a GET of URI using basic auth.
|
||||
FetchedAt time.Time `bun:"type:timestamptz,nullzero"` // Time when fetch of URI was last attempted.
|
||||
SuccessfullyFetchedAt time.Time `bun:"type:timestamptz,nullzero"` // Time when the domain permission list was last *successfuly* fetched, to be transmitted as If-Modified-Since header.
|
||||
ETag string `bun:",nullzero"` // Etag last received from the server (if any) on successful fetch.
|
||||
ETag string `bun:"etag,nullzero"` // Etag last received from the server (if any) on successful fetch.
|
||||
Error string `bun:",nullzero"` // If latest fetch attempt errored, this field stores the error message. Cleared on latest successful fetch.
|
||||
Count uint64 `bun:""` // Count of domain permission entries discovered at URI.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue