yii2-schemadump
yii2-schemadump copied to clipboard
Generate the schema from an existing database
Hey there, I found a bug: If I dump a schema containing a set this set is represented as string with length 0. So in code `set('MONDAY','TUESDAY','WEDNESDAY','THURSDAY','FRIDAY','SATURDAY','SUNDAY') NOT NULL` becomes...
`$this->string()->notNull()->defaultValue('foo\'s')` `$this->string()->notNull()->comment('bar\'s')` Perhaps this bug occurs on the framework side.
Hi, First of all, thanks for this very useful tool! I am wondering if it would be possible to add the following features, similar to how it's done in [this...
Check the DB for migrations already run and compare the physical migration files with the db. If the object is in the DB, but not in an already run migration...