Add report ID suggestion to status page
This commit is contained in:
parent
7032f8e26b
commit
f3221ec315
6 changed files with 317 additions and 27 deletions
25
db/sql/publicreport_publicid_suggestion.bob.sql
Normal file
25
db/sql/publicreport_publicid_suggestion.bob.sql
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
-- 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.
|
||||
|
||||
-- PublicreportPublicIDSuggestion
|
||||
SELECT
|
||||
'nuisance' AS table_name,
|
||||
public_id,
|
||||
location
|
||||
FROM
|
||||
publicreport.nuisance
|
||||
WHERE
|
||||
public_id LIKE $1
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT
|
||||
'pool' AS table_name,
|
||||
public_id,
|
||||
location
|
||||
FROM
|
||||
publicreport.pool
|
||||
WHERE
|
||||
public_id LIKE $2
|
||||
ORDER BY
|
||||
public_id;
|
||||
Loading…
Add table
Add a link
Reference in a new issue