skip to Main Content

error: database driver: unknown driver postgresql (forgotten import?) – How to run golang migrate with make file

I am trying to run migrations in my go-fiber rest API using golang-migrate. I added the commands for running the migrations in a makefile. However, when I run make migrateup, I get the following error: migrate -path database/postgres/migrations -database "postgresql://postgres:postgres@localhost:5400/property?sslmode=disable"…

VIEW QUESTION
Back To Top
Search