Use postgres schema instead of pgx
This commit is contained in:
		@@ -14,7 +14,7 @@ var migrations embed.FS
 | 
			
		||||
 | 
			
		||||
// Connect to a database
 | 
			
		||||
func Connect(server string, user string, password string, database string) (*Queries, error) {
 | 
			
		||||
	connString := fmt.Sprintf("pgx://%s:%s@%s/%s", user, password, server, database)
 | 
			
		||||
	connString := fmt.Sprintf("postgres://%s:%s@%s/%s", user, password, server, database)
 | 
			
		||||
	conn, err := sql.Open("pgx", connString)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user