mirror of
https://github.com/zadam/trilium.git
synced 2024-11-15 12:17:01 +08:00
7 lines
No EOL
185 B
Bash
Executable file
7 lines
No EOL
185 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
SCHEMA_FILE_PATH=db/schema.sql
|
|
|
|
sqlite3 ./data/document.db .schema | grep -v "sqlite_sequence" > "$SCHEMA_FILE_PATH"
|
|
|
|
echo "DB schema exported to $SCHEMA_FILE_PATH" |