MedicineSearch/export_db.sh

5 lines
210 B
Bash
Executable File

#!/bin/bash
rm html/database.db
sqlite3 database.db '.dump pbs_item pbs_mp pbs_mpp pbs_item_restriction pbs_restriction pbs_restriction_criteria pbs_criteria pbs_criteria_parameter' | sqlite3 html/database.db