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

Follow-up #926 #1058

Merged
merged 3 commits into from
Nov 13, 2024
Merged

Conversation

bevzzz
Copy link
Collaborator

@bevzzz bevzzz commented Nov 13, 2024

This PR is a follow-up with some changes I overlooked in #926:

  • Rename Inspector -> NewInspector() and Migrator -> NewMigrator()
  • Configure schemaName and excludeTables with InspectorOptions
  • Rename EquivalentType() -> CompareType()

Looks like we can now remove (Dialect) DefaultSchema()

While every dialect is able to set its own default schema internally, AutoMigrator needs to pass a set this for BunModelInspector explicitly.

@bevzzz bevzzz requested a review from vmihailenco November 13, 2024 10:17
@bevzzz bevzzz mentioned this pull request Nov 13, 2024
3 tasks
@bevzzz bevzzz self-assigned this Nov 13, 2024
@vmihailenco vmihailenco merged commit abcd779 into uptrace:master Nov 13, 2024
2 of 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