yiisoft / yiisoft/db-migration

Add method for execute SQL from file

Open
#118 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:under discussion type:enhancement
Dominant language
PHP
Stars
32
Forks
18
Avg merge
22h 18m
Merged PRs (30d)
2

Description

For example, $b->executeSqlFromFile().

Need to come up with a good name. Variants:

  • loadDump()
  • loadSql()
  • executeSqlFromFile()
  • executeSql()

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

No files, tests, or entry points are named. Start by reviewing the migration API and existing SQL execution behavior, then resolve the method name and define how a SQL file should be handled; done means the agreed method is implemented with coverage for executing SQL from a file.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.