sea-orm
sea-orm copied to clipboard
Delete all PostgreSQL types when calling fresh (#765)
trafficstars
PR Info
Closes #765.
Adds
This PR adds the removal of all PostgreSQL types in the current schema when calling fresh on migrator.
Unfortunately, it was not possible to remove all types without for, because when calling names, incorrect SQL is compiled.
DROP TYPE “test””test1”
Hey @karpa4o4, I added a test for creating db enum on PostgreSQL
- https://github.com/karpa4o4/sea-orm/compare/issue/765...billy1624:pr/864
Feel free to cherrypick :D
@billy1624, done
@billy1624, the fmt warnings fixed.
Thank you so much @karpa4o4