Replace all db.String with db.Text
Text is as efficient in Postgres and is recommended over varchar. It avoids having to put an arbitrary max length to strings.
Loading
Please register or sign in to comment
Text is as efficient in Postgres and is recommended over varchar. It avoids having to put an arbitrary max length to strings.