MedicineSearch/export_db.sh

5 lines
241 B
Bash
Executable File

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