You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I try a migration from mysql 5.6 to postgres 9.5. There is a column of type "enum" in the mysql table schema which is not supported.
<CREATE TABLE activity ( idactivity INT, type VARCHAR( 100), object_model ENUM( 13), object_id INT, created_at timestamp, created_by INT, updated_at timestamp, updated_by INT, commentaire TEXT ) >
org.postgresql.util.PSQLException: ERROR: type "enum" does not exist
Do you have a workaround ?
Thx for your help
Philippe
The text was updated successfully, but these errors were encountered:
I have another proposition: why don't you provide a generated sql file we could enhance or correct in case of failure of the command passed to the targeted base ?
cheers
Hello, enum was never tested! I'll do a simple test and try to implement it. Give me a couple of days.
The option to generate a SQL file could be done, but the main focus is to migrate databases, fast, the schema generation is just one part. But I believe is not hard to get that output.
Hello, I try a migration from mysql 5.6 to postgres 9.5. There is a column of type "enum" in the mysql table schema which is not supported.
<CREATE TABLE activity ( idactivity INT, type VARCHAR( 100), object_model ENUM( 13), object_id INT, created_at timestamp, created_by INT, updated_at timestamp, updated_by INT, commentaire TEXT ) >
org.postgresql.util.PSQLException: ERROR: type "enum" does not exist
Do you have a workaround ?
Thx for your help
Philippe
The text was updated successfully, but these errors were encountered: