Open Sahaquielxo opened 6 years ago
hi, I'm fairly sure I decided to not set the default values on purpose and trust the data coming from the mysql replica. I can check if this can cause problems and eventually fix the issue.
Many thanks for the report.
I've tested the functionality and the default values are correctly determined by mysql. However I'll think a way to add the default values on the postgres tables (thinking of a migration scenario).
Regarding the ticket #74 I can't add the functionality until the replication library returns the data as string '0000-00-00 00:00:00'. I've added a reference to a PR I'm waiting to be merged.
Thanks
As far as I can tell, default values are still not transferred to psql For our migration, I think I'll write a bulk default migration within my rails app
I also came across this today while using a replicated database after running chameleon detach_replica
.
It seems everything comes across absolutely fine - all except the default values.
Definition of default value for table column still not replicated
Hi, once more issue. MySQL table:
As you can see, for the row
updated
, DEFAULT valueCURRENT_TIMESTAMP
from MySQL did not migrated into PostgreSQL.If chameleon is able to resolve this issue right now, or I have to wait for new release? Thanks for answer.