feature: options for schema generation
Posted: Mon 27 Feb 2012 16:23
Please, could you add some options for schema generation and schema updates?
Adding descriptions to the schema should be optional - I have very long descriptions on some of my columns/tables, and I do not want a schema-update every time a description changes. My descriptions are documentation for the code, not for the schema, so this feature doesn't make sense for me.
Generating constraints should be optional - I currently have to remove these by hand, because (1) the constraints aren't always valid or correct, and (2) some constraints prevent me from performing schema-migrations, because the migration itself violates the constraints. I prefer to maintain constraints by hand. Alternatively, this could be a column-setting that allows me to turn off constraints on a case-by-case basis.
Adding descriptions to the schema should be optional - I have very long descriptions on some of my columns/tables, and I do not want a schema-update every time a description changes. My descriptions are documentation for the code, not for the schema, so this feature doesn't make sense for me.
Generating constraints should be optional - I currently have to remove these by hand, because (1) the constraints aren't always valid or correct, and (2) some constraints prevent me from performing schema-migrations, because the migration itself violates the constraints. I prefer to maintain constraints by hand. Alternatively, this could be a column-setting that allows me to turn off constraints on a case-by-case basis.