mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
FK: Recognize ON UPDATE and ON DELETE commands if is not in uppercase
This commit is contained in:
parent
e6fc55e195
commit
2a0657e89b
@ -356,8 +356,8 @@ class Forge
|
||||
$this->foreignKeys[$fieldName] = [
|
||||
'table' => $tableName,
|
||||
'field' => $tableField,
|
||||
'onDelete' => $onDelete,
|
||||
'onUpdate' => $onUpdate
|
||||
'onDelete' => strtoupper($onDelete),
|
||||
'onUpdate' => strtoupper($onUpdate)
|
||||
];
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user