release script, moved all scripts to bin directory

This commit is contained in:
azivner
2017-12-25 15:01:33 -05:00
parent bca5087426
commit f90c2317fc
6 changed files with 66 additions and 16 deletions

7
bin/export-schema.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
SCHEMA_FILE_PATH=db/schema.sql
sqlite3 ~/trilium-data/document.db .schema > "$SCHEMA_FILE_PATH"
echo "DB schema exported to $SCHEMA_FILE_PATH"