mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
release script, moved all scripts to bin directory
This commit is contained in:
7
bin/export-schema.sh
Executable file
7
bin/export-schema.sh
Executable 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"
|
||||
Reference in New Issue
Block a user