This is a huge change. I was getting really sick of the split between nuisance/water tables when more than half of the data they store is common. I finally bit off the big work of switching it all. This creates a single unified table, publicreport.report and copies the existing report data into it. It also ports existing data from the original tables into the new table. Along with all of this I also overhauled the system for handling asynchronous work to use a LISTEN/NOTIFY connection from the database and a single cache table to avoid ever losing work.
26 lines
715 B
Go
26 lines
715 B
Go
// Code generated by BobGen psql v0.42.5. DO NOT EDIT.
|
|
// This file is meant to be re-generated in place and/or deleted at any time.
|
|
|
|
package dberrors
|
|
|
|
var PublicreportNuisanceOldErrors = &publicreportNuisanceOldErrors{
|
|
ErrUniqueNuisancePkey: &UniqueConstraintError{
|
|
schema: "publicreport",
|
|
table: "nuisance_old",
|
|
columns: []string{"id"},
|
|
s: "nuisance_pkey",
|
|
},
|
|
|
|
ErrUniqueNuisancePublicIdKey: &UniqueConstraintError{
|
|
schema: "publicreport",
|
|
table: "nuisance_old",
|
|
columns: []string{"public_id"},
|
|
s: "nuisance_public_id_key",
|
|
},
|
|
}
|
|
|
|
type publicreportNuisanceOldErrors struct {
|
|
ErrUniqueNuisancePkey *UniqueConstraintError
|
|
|
|
ErrUniqueNuisancePublicIdKey *UniqueConstraintError
|
|
}
|