WIP: import

This commit is contained in:
2023-07-06 18:33:22 +04:00
parent 5e309ea02f
commit 6042df0a51
4 changed files with 81 additions and 1563 deletions

View File

@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"db:dump": "sqlite3 ../data/data.db .dump > ../schema/dump.sql",
"db:dump": "sqlite3 ../data/data.db < ../schema/clean_and_dump.sql > ../schema/dump.sql",
"db:import": "rm -f ../data/data.db && sqlite3 ../data/data.db < ../schema/dump.sql",
"dev": "nodemon --exec directus start",
"start": "directus start"
@@ -11,6 +11,7 @@
"sqlite3": "5.1.6"
},
"devDependencies": {
"nodemon": "2.0.22"
"nodemon": "2.0.22",
"uuid": "9.0.0"
}
}