Add DB upgrade scripts for diagnostics and compilation_finished

This commit is contained in:
Tamas Vajk
2022-05-05 15:58:21 +02:00
committed by Ian Lynagh
parent a5a31db835
commit 26dfca8010
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
class Compilation extends @compilation {
string toString() { none() }
}
from Compilation c, float cpu_seconds, float elapsed_seconds
where compilations(c, cpu_seconds, elapsed_seconds)
select c, cpu_seconds, elapsed_seconds, /* success */ 0

View File

@@ -0,0 +1,13 @@
class Diagnostic extends @diagnostic {
string toString() { none() }
}
class Location extends @location_default {
string toString() { none() }
}
from
Diagnostic d, int severity, string error_tag, string error_message, string full_error_message,
Location l
where diagnostics(d, severity, error_tag, error_message, full_error_message, l)
select d, /* generated_by */ "", severity, error_tag, error_message, full_error_message, l

View File

@@ -1,4 +1,6 @@
description: Add Kotlin support
compatibility: backwards
compilations.rel: run compilations.qlo
diagnostics.rel: run diagnostics.qlo
compilation_finished.rel: run compilation_finished.qlo