Added ability to create projects
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user