Flyway Clean on PostgreSQL leaves TYPES #501
Original author: p.malo...@gmail.com (May 30, 2013 21:29:27)
Using PostgreSQL 9.2.
CREATE TYPE my_type AS (my_type_id integer);
When I execute a "clean" command, it remains in the database. Looking at Flyway's source code, TYPES to clean are listed using the following SQL:
I looked up the TYPE "my_type" in this table and it is of typcategory 'C'.
At this point, I'm not sure if I should be creating my TYPE differently so that it registers as a 'P' or 'U' TYPE (but how?)... or if the SQL query is too restrictive.
Thanks in advance.
Original issue: http://code.google.com/p/flyway/issues/detail?id=506
The text was updated successfully, but these errors were encountered: