Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aware table schema on function ColumnTypes #144

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

alvinadet
Copy link
Contributor

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

This pull request addresses an issue in the ColumnTypes function where only tables within the dbo schema are successfully generated. The update modifies the function to properly handle table names that belong to different schemas, ensuring that tables in schemas other than dbo are also correctly processed and their column types are retrieved.

User Case Description

Currently, when a user attempts to retrieve column types for tables located in schemas other than dbo, the ColumnTypes function fails to recognize the schema.

@jinzhu jinzhu merged commit e4296ac into go-gorm:master Oct 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants