Compare commits
No commits in common. "c8c7f63fdf7bdc7b04aed83a411c0492d1154df3" and "6959568e1ef99791c06fd07cef4fb863d873b40b" have entirely different histories.
c8c7f63fdf
...
6959568e1e
@ -53,11 +53,7 @@ func connect() (*driver.Conn, error) {
|
||||
}
|
||||
|
||||
func Migrate() error {
|
||||
rows, err := Connection.Query(context.TODO(), "SELECT 1")
|
||||
if err != nil {
|
||||
log.Fatal("Query failed:", err)
|
||||
}
|
||||
rows, err = Connection.Query(
|
||||
rows, err := Connection.Query(
|
||||
context.TODO(),
|
||||
`CREATE TABLE IF NOT EXISTS endpoints (
|
||||
timestamp DateTime,
|
||||
|
Loading…
Reference in New Issue
Block a user