-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi @shayonj ,
I found, that there is an issue with performing the pg-osc
command more than once, when we didn't use --drop
. When I haven't used --drop
and ran the command, it works fine and created a old table. Now, again I tried to run the command on the same table, but now its raising an error as table already exits as below.
ERROR: relation "pgosc_op_table_employees" already exists (PG::DuplicateTable)
Solution:
I guess, when renaming the old table, you may have give the name format as "pgosc_op_table_{tablename}"--> this will cause the error, To resolve this, You may change the format to "pgosc_op_table_{tablename}_{index}"
Here index/id can be a unique value.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request