Support comments for tables and columns

Open
#276 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, sqlite
Domain
databases

Research direction

Review the related yiisoft/db-migration#219 issue and the SQLite metadata query using sqlite_master shown here. Trace how table and column metadata are exposed by this driver, then define completion as supporting comments for both tables and columns and covering the documented CREATE TABLE example.

Written by the indexing model from the issue text.

Description

status:ready for adoption type:enhancement

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';
Dominant language
PHP
Stars
30
Forks
13
Avg merge
1d 23h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yiisoft/db-sqlite

All issues in yiisoft/db-sqlite

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.