Eventlog updates (#9633)

* Eventlog updates
remove host from eventlog table, retain in api
allow most fields nullable

* updated schema

* revert auth for legacy log_event function
safer check in the model

* add function modifiers
This commit is contained in:
Tony Murray
2019-01-10 00:52:00 -06:00
committed by GitHub
parent 98f75bd9ce
commit daffa7e274
12 changed files with 67 additions and 32 deletions

5
sql-schema/280.sql Normal file
View File

@@ -0,0 +1,5 @@
alter table eventlog modify device_id int unsigned null;
alter table eventlog modify reference varchar(64) null;
alter table eventlog modify severity tinyint default 2 not null;
drop index host on eventlog;
alter table eventlog drop column host;