Added ability to create projects
This commit is contained in:
1 parent
bae65994f8
commit
16704aeeb1
9 files changed
+80
-19
No files matched your search
@@ -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