diff options
Diffstat (limited to 'pkg/datamaps/db.go')
-rw-r--r-- | pkg/datamaps/db.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/datamaps/db.go b/pkg/datamaps/db.go index 9ae2204..ad612c4 100644 --- a/pkg/datamaps/db.go +++ b/pkg/datamaps/db.go @@ -12,8 +12,8 @@ import ( _ "github.com/mattn/go-sqlite3" ) -// SetupDB creates the intitial database -func SetupDB(path string) (*sql.DB, error) { +// setupDB creates the intitial database +func setupDB(path string) (*sql.DB, error) { stmtBase := `DROP TABLE IF EXISTS datamap; CREATE TABLE datamap(id INTEGER PRIMARY KEY, name TEXT, date_created TEXT); DROP TABLE IF EXISTS datamap_line; |