Pass arguments through in booksql helper
This commit is contained in:
parent
35c18a1059
commit
3f35db4de8
|
@ -14,4 +14,4 @@ if [ ! -e "$BOOKSQL_DB_PATH" ]; then
|
|||
echo "Creating new database at $BOOKSQL_DB_PATH" >&2
|
||||
cat "$BOOKSQL_PATH/schema.sql" "$BOOKSQL_PATH/init.sql" | sqlite3 -bail "$BOOKSQL_DB_PATH"
|
||||
fi
|
||||
sqlite3 -box -cmd 'PRAGMA foreign_keys = ON' -cmd 'PRAGMA ignore_check_constraints = OFF' "$BOOKSQL_DB_PATH"
|
||||
sqlite3 -box -cmd 'PRAGMA foreign_keys = ON' -cmd 'PRAGMA ignore_check_constraints = OFF' "$BOOKSQL_DB_PATH" "$@"
|
||||
|
|
Loading…
Reference in New Issue