Swlft: add database upgrade scripts

This commit is contained in:
Alex Denisov
2023-10-31 11:23:53 +01:00
parent 33de177fea
commit 2b7ce23653
7 changed files with 10576 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
// Converts SingleValueStmtExprs into UnspecifiedElements
class Element extends @element {
string toString() { none() }
}
from Element e, string property, string error
where
single_value_stmt_exprs(e, _) and
property = "" and
error = "Removed SingleValueStmtExpr during the database downgrade"
or
unspecified_elements(e, property, error)
select e, property, error

View File

@@ -0,0 +1,5 @@
description: Removing SingleValueStmtExpr
compatibility: partial
unspecified_elements.rel: run unspecified_elements.ql
single_value_stmt_exprs.rel: delete

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
description: Added SingleValueStmtExpr
compatibility: full