#!/bin/bash

rm solution.db || true

import_csv() {
	sqlite3 <<-EOF
		.open $1
		.mode csv
		.import $2 $3
	EOF
}


import_csv solution.db ./solution.csv solution
import_csv solution.db ./checkitemlist.csv checkitemlist
import_csv solution.db ./errordata.csv errordata

