File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,7 @@ class DB {
85
85
}
86
86
}
87
87
if ( ! group ) {
88
- // no group found, assume the domain is to
89
- // be grouped by itthis
90
- group = {
91
- name : domain ,
92
- domain : [ domain ]
93
- } ;
88
+ throw new Error ( `No storage group configured for ${ domain } ` ) ;
94
89
}
95
90
// save it in the cache
96
91
this . _storageGroupsCache . set ( domain , group ) ;
@@ -249,7 +244,7 @@ class DB {
249
244
if ( ! schema ) {
250
245
return ;
251
246
}
252
- deleteRequest ( schema )
247
+ deleteRequest ( schema ) ;
253
248
} ) ;
254
249
} else {
255
250
const schema = this . schemaCache [ tableName ] ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " restbase-mod-table-sqlite" ,
3
3
"description" : " RESTBase table storage using sqlite for testing purposes" ,
4
- "version" : " 1.1.2 " ,
4
+ "version" : " 1.2.0 " ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
7
7
"type" : " git" ,
28
28
"generic-pool" : " ^3.4.2" ,
29
29
"js-yaml" : " ^3.12.0" ,
30
30
"lru-cache" : " ^4.1.3" ,
31
- "restbase-mod-table-spec" : " ^1.1.3 " ,
31
+ "restbase-mod-table-spec" : " ^1.2.0 " ,
32
32
"sqlite3" : " ^4.0.3"
33
33
},
34
34
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments