Skip to content

Commit fd75275

Browse files
committed
fix syntax in separate-raws-table.sql
contrib/eventdb/separate-raws-table.sql was missing some commas in the column list, breaking SQL syntax this adds commas to all columns Fixes #2125
1 parent c1407e6 commit fd75275

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

contrib/eventdb/separate-raws-table.sql

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,29 @@ CREATE VIEW public.v_events AS
2727
events."classification.taxonomy",
2828
events."classification.type",
2929
events."comment",
30-
events."destination.abuse_contact"
31-
events."destination.account"
32-
events."destination.allocated"
33-
events."destination.asn"
34-
events."destination.as_name"
30+
events."destination.abuse_contact",
31+
events."destination.account",
32+
events."destination.allocated",
33+
events."destination.asn",
34+
events."destination.as_name",
3535
events."destination.domain_suffix",
36-
events."destination.fqdn"
36+
events."destination.fqdn",
3737
events."destination.geolocation.cc",
38-
events."destination.geolocation.city"
39-
events."destination.geolocation.country"
40-
events."destination.geolocation.latitude"
41-
events."destination.geolocation.longitude"
42-
events."destination.geolocation.region"
43-
events."destination.geolocation.state"
44-
events."destination.ip"
45-
events."destination.local_hostname"
46-
events."destination.local_ip"
47-
events."destination.network"
48-
events."destination.port"
49-
events."destination.registry"
50-
events."destination.reverse_dns"
51-
events."destination.tor_node"
52-
events."destination.url"
38+
events."destination.geolocation.city",
39+
events."destination.geolocation.country",
40+
events."destination.geolocation.latitude",
41+
events."destination.geolocation.longitude",
42+
events."destination.geolocation.region",
43+
events."destination.geolocation.state",
44+
events."destination.ip",
45+
events."destination.local_hostname",
46+
events."destination.local_ip",
47+
events."destination.network",
48+
events."destination.port",
49+
events."destination.registry",
50+
events."destination.reverse_dns",
51+
events."destination.tor_node",
52+
events."destination.url",
5353
events."destination.urlpath",
5454
events."event_description.target",
5555
events."event_description.text",
@@ -103,9 +103,9 @@ CREATE VIEW public.v_events AS
103103
events."status",
104104
events."time.observation",
105105
events."time.source",
106-
events."tlp"
106+
events."tlp",
107107
raws."event_id",
108-
raws."raw",
108+
raws."raw"
109109
FROM (
110110
public.events
111111
JOIN public.raws ON ((events.id = raws.event_id)));

0 commit comments

Comments
 (0)