cycle / database

Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
MIT License
54 stars 24 forks source link

[Feature]: support column comment and table comment #212

Open shellphy opened 2 weeks ago

shellphy commented 2 weeks ago

Is your feature request related to a problem? Please describe.

Could you add the ability to comment columns and tables?

Describe the solution you'd like

As laravel's migration provides:

$table->string('avatar')->nullable()->comment('图像');
$table->comment('交易');

Describe alternatives you've considered

Because when viewing a separate view database, if the field is more and more complex, it will be very confusing

Additional context

No response

roxblnfk commented 2 weeks ago

Related with https://github.com/cycle/database/issues/84