cakephp / cakephp/phinx

Support usage of update clause in non-MySQL DBs

Open
#1,801 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
PHP
Stars
4.5k
Forks
884
PR merge metrics
No merged PRs in 30d

Description

It would be useful to people to be able to use update for DBs that are not MySQL. To handle it, a trigger will have to be made against the table to run on row update. The devil in the details here is to properly deal with the trigger on column rename / update / deletion.

From #1800 and #1798

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

Start by reviewing related issues #1800 and #1798, then locate the migration code that handles the update clause. Define how triggers should be created and kept correct when columns are renamed, updated, or deleted; done means non-MySQL databases can use the clause without leaving incorrect triggers.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.