Skip to content

Commit

Permalink
Make CreateServerDBTables public
Browse files Browse the repository at this point in the history
Co-Authored-By: Liza Tsibur <[email protected]>
  • Loading branch information
caffeinatedpixel and lisaSW committed Aug 1, 2024
1 parent e54bcad commit 5d22b1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion database/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d22b1c

Please sign in to comment.