Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support comments for tables and columns #276

Open
Tigrov opened this issue Oct 17, 2023 · 0 comments
Open

Support comments for tables and columns #276

Tigrov opened this issue Oct 17, 2023 · 0 comments
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement

Comments

@Tigrov
Copy link
Member

Tigrov commented Oct 17, 2023

Related with yiisoft/db-migration#219

CREATE TABLE `table_name` -- table comment
(
    id INTEGER, -- field comment
);

Comments can be obtained using query

SELECT sql FROM sqlite_master WHERE type='table' AND tbl_name='table_name';
@samdark samdark added type:enhancement Enhancement status:ready for adoption Feel free to implement this issue. labels Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants