Skip to content

Commit 32db845

Browse files
committed
C++: Add DB scheme upgrade and downgrade scripts
1 parent bdd8f2b commit 32db845

File tree

7 files changed

+8533
-0
lines changed

7 files changed

+8533
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class AttributeArgument extends @attribute_arg {
2+
string toString() { none() }
3+
}
4+
5+
class Attribute extends @attribute {
6+
string toString() { none() }
7+
}
8+
9+
class LocationDefault extends @location_default {
10+
string toString() { none() }
11+
}
12+
13+
from AttributeArgument arg, int kind, Attribute attr, int index, LocationDefault location
14+
where
15+
attribute_args(arg, kind, attr, index, location) and
16+
not arg instanceof @attribute_arg_constant_expr
17+
select arg, kind, attr, index, location

0 commit comments

Comments
 (0)