fix
This commit is contained in:
		@@ -53,7 +53,11 @@ func connect() (*driver.Conn, error) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func Migrate() error {
 | 
			
		||||
	rows, err := Connection.Query(
 | 
			
		||||
	rows, err := Connection.Query(context.TODO(), "SELECT 1")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		log.Fatal("Query failed:", err)
 | 
			
		||||
	}
 | 
			
		||||
	rows, err = Connection.Query(
 | 
			
		||||
		context.TODO(), 
 | 
			
		||||
		`CREATE TABLE IF NOT EXISTS endpoints (
 | 
			
		||||
			timestamp        DateTime,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user