1

I am looking for a way to make a certain table, manually added and not managed by flyway impossible to drop when flyway:clean is executed.

I was looking for some solutions and the only think somehow related to that issue is http://docs.oracle.com/cd/B12037_01/server.101/b10759/statements_9015.htm but I would prefer to have a solution inside flyway tool. Any ideas would be appreciated.

2 Answers 2

3

This is not currently supported.

Sign up to request clarification or add additional context in comments.

2 Comments

@AxelFontaine - When someone asks how to do something, saying that it can't or shouldn't be done is never an acceptable answer. Even if it's true, such a statement should be added as a comment to the question, not as an answer. If the question itself is illogical, it should be flagged and deleted, not have a comment pointing that out added as an "answer".
This is the only correct answer to this question. Since this question is about specifically Flyway, and I am the author of the tool, I believe I am uniquely qualified to answer it. Which I did.
0

Try to create and use your table in a different schema which is not managed by flyway.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.