yiisoft / yiisoft/db-sqlite

Support comments for tables and columns

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

Nobody has claimed this yet.

status:ready for adoption type:enhancement
Dominant language
PHP
Stars
30
Forks
13
Avg merge
1d 23h
Merged PRs (30d)
3

Description

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';

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.