Skip to content

Commit

Permalink
Added dockerfile and linux file
Browse files Browse the repository at this point in the history
Took 6 minutes
  • Loading branch information
petrjahoda committed Jul 19, 2021
1 parent 9743060 commit df1baf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions database.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func readData(databaseType string, databases map[string]string) {
switch databaseType {
case "postgres":
{
fmt.Println(databases[databaseType])
database, err = gorm.Open(postgres.Open(databases[databaseType]), &gorm.Config{})
}
case "timescale":
Expand Down Expand Up @@ -134,6 +135,7 @@ func createDatabaseAndTable(databaseType string, databases map[string]string) {
switch databaseType {
case "postgres":
{
fmt.Println(databases[databaseType])
database, err = gorm.Open(postgres.Open(databases[databaseType]), &gorm.Config{})
}
case "timescale":
Expand Down
Binary file modified linux/medium_database_benchmark
Binary file not shown.

0 comments on commit df1baf0

Please sign in to comment.