ensure scheme in metadata table always be tms

This commit is contained in:
jingsam
2019-05-09 17:55:22 +08:00
parent 7fd30ff9ff
commit 0ecc36fc47
2 changed files with 4 additions and 1 deletions

View File

@@ -600,6 +600,9 @@ MBTiles.prototype.putInfo = function(data, callback) {
}
if (jsondata) stmt.run('json', JSON.stringify(jsondata));
// Ensure scheme in metadata table always be 'tms'
stmt.run('scheme', 'tms');
var mbtiles = this;
stmt.finalize(function(err) {
if (err) return callback(err);

View File

@@ -35,7 +35,7 @@
},
"devDependencies": {
"tape": "~3.0.0",
"eslint": "~1.00.0",
"eslint": "~1.0.0",
"eslint-config-unstyled": "^1.1.0"
},
"engines": {