Compare commits

..

No commits in common. "c8c7f63fdf7bdc7b04aed83a411c0492d1154df3" and "6959568e1ef99791c06fd07cef4fb863d873b40b" have entirely different histories.

View File

@ -53,11 +53,7 @@ func connect() (*driver.Conn, error) {
} }
func Migrate() error { func Migrate() error {
rows, err := Connection.Query(context.TODO(), "SELECT 1") rows, err := Connection.Query(
if err != nil {
log.Fatal("Query failed:", err)
}
rows, err = Connection.Query(
context.TODO(), context.TODO(),
`CREATE TABLE IF NOT EXISTS endpoints ( `CREATE TABLE IF NOT EXISTS endpoints (
timestamp DateTime, timestamp DateTime,