diff options
-rw-r--r-- | backend/init.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/init.go b/backend/init.go index 0e8303e..cae0e99 100644 --- a/backend/init.go +++ b/backend/init.go @@ -5,6 +5,7 @@ import ( "log" ) +// InitStarsTable initialises the stars table func InitStarsTable(db *sql.DB) { query := `CREATE TABLE public.stars ( @@ -22,6 +23,7 @@ func InitStarsTable(db *sql.DB) { } } +// InitNodesTable initialises the nodes table func InitNodesTable(db *sql.DB) { query := `CREATE TABLE public.nodes ( |