Closed bevzzz closed 2 weeks ago
This PR is a follow-up with some changes I overlooked in #926:
Inspector -> NewInspector()
Migrator -> NewMigrator()
schemaName
excludeTables
InspectorOptions
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.
This PR is a follow-up with some changes I overlooked in #926:
Inspector -> NewInspector()
andMigrator -> NewMigrator()
schemaName
andexcludeTables
withInspectorOptions
EquivalentType() -> CompareType()
While every dialect is able to set its own default schema internally, AutoMigrator needs to pass a set this for BunModelInspector explicitly.