Move comms work to background goroutine
This is a sort of random checkpoint of work * add schema for tracking messages sent to DB * add terms of service and privacy policy for RCS compliance * standardize some things about background workers * update some missing stuff from generated DB code
This commit is contained in:
parent
8f44e57c72
commit
842e6cff43
47 changed files with 7361 additions and 179 deletions
|
|
@ -42,6 +42,15 @@ var PublicreportImages = Table[
|
|||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Location: column{
|
||||
Name: "location",
|
||||
DBType: "geography",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
ResolutionX: column{
|
||||
Name: "resolution_x",
|
||||
DBType: "integer",
|
||||
|
|
@ -120,6 +129,7 @@ type publicreportImageColumns struct {
|
|||
ID column
|
||||
ContentType column
|
||||
Created column
|
||||
Location column
|
||||
ResolutionX column
|
||||
ResolutionY column
|
||||
StorageUUID column
|
||||
|
|
@ -129,7 +139,7 @@ type publicreportImageColumns struct {
|
|||
|
||||
func (c publicreportImageColumns) AsSlice() []column {
|
||||
return []column{
|
||||
c.ID, c.ContentType, c.Created, c.ResolutionX, c.ResolutionY, c.StorageUUID, c.StorageSize, c.UploadedFilename,
|
||||
c.ID, c.ContentType, c.Created, c.Location, c.ResolutionX, c.ResolutionY, c.StorageUUID, c.StorageSize, c.UploadedFilename,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue