add Failed column to view
This commit is contained in:
parent
134e87cb4b
commit
d8fb3b5e62
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,8 @@ SELECT
|
|||
Kinds.Name as Kind,
|
||||
Domains.Name as Name,
|
||||
RecordIps.AsStr as Address,
|
||||
Exceptions.Name as Exception
|
||||
Exceptions.Name as Exception,
|
||||
Messages.Failed as Failed
|
||||
FROM Messages
|
||||
LEFT JOIN Domains ON Messages.DomainId = Domains.DomainId
|
||||
LEFT JOIN Kinds ON Domains.KindId = Kinds.KindId
|
||||
|
@ -95,7 +96,6 @@ LEFT JOIN Ips AS ServerIps ON Messages.ServerId = ServerIps.IpId
|
|||
LEFT JOIN Records ON Messages.RecordId = Records.RecordId
|
||||
LEFT JOIN Ips as RecordIps ON Records.IpId = RecordIps.IpId
|
||||
LEFT JOIN Exceptions ON Messages.ExceptionId = Exceptions.ExceptionId
|
||||
-- GROUP BY Records.IpId
|
||||
""",
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue