Added ability to create projects

This commit is contained in:
2023-11-28 16:36:11 -05:00
parent bae65994f8
commit 16704aeeb1
9 changed files with 80 additions and 19 deletions

View File

@ -24,9 +24,3 @@ func Open() {
DB.AutoMigrate(&Project{}, &Hardware{}, &Benchmark{})
log.Println("Database migrations complete.")
}
// Used to close the database connection; should be only called in main() as a deferral
func Close() error {
return DB.Close()
}