You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the documentation here, the dropColumn method should allow for an array of columns to be dropped. However the method only allows for a string, and the logic doesn't handle the possibility of an array been supplied.
CodeIgniter 4 version
4.0.0:master
Affected module(s)
CodeIgniter\Database\Forge
Expected behavior, and steps to reproduce if appropriate
Be allowed to supply either a string or an array, and either a single or multiple columns are dropped.
Context
OS: 4.9.184-linuxkit
Web server Apache/2.4.38 (Debian)
PHP version 7.2.22
The text was updated successfully, but these errors were encountered:
MohKari
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Feb 19, 2020
Describe the bug
According to the documentation here, the dropColumn method should allow for an array of columns to be dropped. However the method only allows for a string, and the logic doesn't handle the possibility of an array been supplied.
CodeIgniter 4 version
4.0.0:master
Affected module(s)
CodeIgniter\Database\Forge
Expected behavior, and steps to reproduce if appropriate
Be allowed to supply either a string or an array, and either a single or multiple columns are dropped.
Context
The text was updated successfully, but these errors were encountered: