I am currently using native SQL queries to create sequences and get sequence values in a Grails 4 web app. This normally doesn't cause much of an issue, but when I use the grails database migration plugin to update my database (using liquibase), it keeps wanting to delete the sequences in the database.
The workaround is to manually delete the liquibase statements that affect the sequences, but I am not comfortable with the potential for human error here. The most obvious way to fix this would be to declare that these sequences exist so that Grails/Liquibase doesn't want to delete them. How do I go about doing this?