`DROP TABLE CASCADE` support

Open
#340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading the SQLite driver's handling of DROP TABLE and the repository's existing schema-operation tests. Determine how dependent tables are identified and what behavior the driver should provide when CASCADE is requested. Done means the supported DROP TABLE CASCADE behavior is covered by tests and works without relying on SQLite's unsupported syntax.

Written by the indexing model from the issue text.

Description

SQLite don't support CASCADE, but we can make it manually.

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.