Open satriawinarah opened 2 years ago
Every time I ran it, it shows sql: unknown driver "mysql" (forgotten import?)
sql: unknown driver "mysql" (forgotten import?)
And how to change it postgresql?
Every time I ran it, it shows sql: unknown driver "mysql" (forgotten import?) And how to change it postgresql?
you can add import _ "github.com/jinzhu/gorm/dialects/mysql" to fix that error
import _ "github.com/jinzhu/gorm/dialects/mysql"
Every time I ran it, it shows
sql: unknown driver "mysql" (forgotten import?)
And how to change it postgresql?