camcima / php-mysql-diff

MySQL Schema Diff - Comparison / Migration Script Generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this possible to append database name along with table name in migration script?

pramodfliplearn opened this issue · comments

Hi Team,

I am using php-mysql-diff tool and this is really helpful for me and all other's.

But, I am stuck in one place that is "Is this possible to append the database name along with table name in migration script?"

For example, I am going to compare Database A and Database B.

Require output is:
ALTER TABLE A.TABLE_NAME *******
CREATE TABLE B.TABLE_NAME (*******)

Please help me with this. Thanks, in advance.

Hi Team,

I am using php-mysql-diff tool and this is really helpful for me and all other's.

But, I am stuck in one place that is "Is this possible to append the database name along with table name in migration script?"

For example, I am going to compare Database A and Database B.

Require output is:
ALTER TABLE A.TABLE_NAME *******
CREATE TABLE B.TABLE_NAME (*******)

Please help me with this. Thanks, in advance.

Have you been able to run this tool at all? I am struggling with it. when I try to execute php-mysql-diff it doesn't recognize it. The documentation does not offer much information about its usage at all!