Not all fields had DEFAULT and other options in generated CREATE TABLE query.
Refactoring.