Firstly, If I declare a table column with a datatype datetime(6) with a default CURRENT_TIMESTAMP(6), the synchronization will be confused by this definition.
For example, consider:
Code: Select all
CREATE TABLE mytable (
id bigint(20) NOT NULL AUTO_INCREMENT,
createddate datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
lastmodifieddate datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
PRIMARY KEY (id)
)
Code: Select all
createddate DATETIME(6) NOT NULL DEFAULT )
Secondly, I have a column that leverages the new 5.7 features of JSON support and stored generated columns.
Consider the following snippet:
Code: Select all
CREATE TABLE mytable (
id bigint(20) NOT NULL AUTO_INCREMENT,
logdata JSON DEFAULT NULL,
someid VARCHAR(50) AS (json_unquote(json_extract(`logdata`,'$.SomeId'))) STORED NOT NULL
PRIMARY KEY (id)
)
Of course, following through with the synchronization would cause issues so in my mind the sync tool is effectively broken.