Java: Add up/downgrade scripts

This commit is contained in:
Ian Lynagh
2024-09-18 11:45:45 +01:00
parent 76662a6002
commit 9b8152a44b
8 changed files with 4966 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
class Field extends @field {
string toString() { none() }
}
class Type extends @type {
string toString() { none() }
}
class RefType extends @reftype {
string toString() { none() }
}
from Field f, string name, Type t, RefType parent
where fields(f, name, t, parent)
select f, name, t, parent, f

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,3 @@
description: Remove fields.sourceid
compatibility: full
fields.rel: run fields.qlo

View File

@@ -0,0 +1,15 @@
class Field extends @field {
string toString() { none() }
}
class Type extends @type {
string toString() { none() }
}
class RefType extends @reftype {
string toString() { none() }
}
from Field f, string name, Type t, RefType parent
where fields(f, name, t, parent, _)
select f, name, t, parent

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,3 @@
description: Remove fields.sourceid
compatibility: full
fields.rel: run fields.qlo