From 5d22b1c82bd9fd1849a4cc95ebb220fdbb15d162 Mon Sep 17 00:00:00 2001 From: Naomi Kramer Date: Thu, 1 Aug 2024 15:24:09 -0400 Subject: [PATCH] Make CreateServerDBTables public Co-Authored-By: Liza Tsibur --- database/server.go | 2 +- database/tables.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/server.go b/database/server.go index f575691..67ecebc 100644 --- a/database/server.go +++ b/database/server.go @@ -52,7 +52,7 @@ func SetUpNewImport(afs afero.Fs, cfg *config.Config, dbName string, rollingFlag } // set up metadatabase if it does not exist yet - err = server.createServerDBTables() + err = server.CreateServerDBTables() if err != nil { return nil, err } diff --git a/database/tables.go b/database/tables.go index 487ad37..e8ca122 100644 --- a/database/tables.go +++ b/database/tables.go @@ -1575,7 +1575,7 @@ func (db *DB) createSensorDBTables() error { return err } -func (server *ServerConn) createServerDBTables() error { +func (server *ServerConn) CreateServerDBTables() error { err := server.createMetaDatabase() if err != nil { return err