go-gorm / postgres

GORM PostgreSQL driver
MIT License
225 stars 119 forks source link

override identifier length for postgres #232

Closed alidevhere closed 7 months ago

alidevhere commented 8 months ago

What did this pull request do?

This PR addresses issue-191. It overrides gorm's default maximum identifier length by Postgres maximum identifier length of 63. provide a general description of the code changes in your pull request

User Case Description

It sets default max identifier length to that of Postgres, which is 63, without changing anyother naming strategy, if defined by user.