Skip to content

Commit 2e760bf

Browse files
author
Max Schaefer
committed
JavaScript: Add upgrade script.
1 parent 31b4d8d commit 2e760bf

File tree

6 files changed

+2289
-0
lines changed

6 files changed

+2289
-0
lines changed

javascript/ql/src/semmlecode.javascript.dbscheme.stats

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26980,6 +26980,54 @@
2698026980
</dependencies>
2698126981
</relation>
2698226982
<relation>
26983+
<name>yaml_locations</name>
26984+
<cardinality>71</cardinality>
26985+
<columnsizes>
26986+
<e>
26987+
<k>locatable</k>
26988+
<v>71</v>
26989+
</e>
26990+
<e>
26991+
<k>___location</k>
26992+
<v>71</v>
26993+
</e>
26994+
</columnsizes>
26995+
<dependencies>
26996+
<dep>
26997+
<src>locatable</src>
26998+
<trg>___location</trg>
26999+
<val>
27000+
<hist>
27001+
<budget>12</budget>
27002+
<bs>
27003+
<b>
27004+
<a>1</a>
27005+
<b>2</b>
27006+
<v>71</v>
27007+
</b>
27008+
</bs>
27009+
</hist>
27010+
</val>
27011+
</dep>
27012+
<dep>
27013+
<src>___location</src>
27014+
<trg>locatable</trg>
27015+
<val>
27016+
<hist>
27017+
<budget>12</budget>
27018+
<bs>
27019+
<b>
27020+
<a>1</a>
27021+
<b>2</b>
27022+
<v>71</v>
27023+
</b>
27024+
</bs>
27025+
</hist>
27026+
</val>
27027+
</dep>
27028+
</dependencies>
27029+
</relation>
27030+
<relation>
2698327031
<name>xmlEncoding</name>
2698427032
<cardinality>39724</cardinality>
2698527033
<columnsizes>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class Locatable extends @locatable { string toString() { none() } }
2+
class Location extends @___location { string toString() { none() } }
3+
4+
from Locatable locatable, Location ___location
5+
where
6+
hasLocation(locatable, ___location) and
7+
not locatable instanceof @yaml_node and
8+
not locatable instanceof @yaml_error
9+
select locatable, ___location

0 commit comments

Comments
 (0)