NodeJS migration script for old Sqlite controller.db to new controller data format.

This commit is contained in:
Adam Ierymenko 2017-01-19 10:44:26 -08:00
parent 0fb3d1d582
commit e9007b1f56
6 changed files with 348 additions and 10 deletions

View file

@ -0,0 +1,15 @@
{
"name": "migrate-sqlite",
"version": "1.0.0",
"description": "Migrate old SQLite to new JSON filesystem DB for ZeroTier network controller",
"main": "migrate.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Adam Ierymenko <adam.ierymenko@zerotier.com>",
"license": "GPL-3.0",
"dependencies": {
"async": "^2.1.4",
"sqlite3": "^3.1.8"
}
}