Skip to content

Commit

Permalink
[FormBundle] Revert fieldname change and add info to upgrade file
Browse files Browse the repository at this point in the history
  • Loading branch information
acrobat committed Oct 18, 2022
1 parent 2256e32 commit cabd556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions UPGRADE-6.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ General
In Kunstmaan CMS 7.O all GroundControl related files and support in templates will be removed.
- The minimum supported PHP version is 8.0.
- The supported Symfony versions are 4.4 and 5.4.
- The column names of `\Kunstmaan\FormBundle\Entity\FormSubmissionField::$fieldName` and `\Kunstmaan\AdminBundle\Entity\Exception::$urlReferer"
now are defined with snake case instead of camel case. Doctrine migrations should generate a rename query but check the generated sql after upgrading.

AdminBundle
-----------
Expand Down
2 changes: 1 addition & 1 deletion src/Kunstmaan/FormBundle/Entity/FormSubmissionField.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ abstract class FormSubmissionField
*
* @ORM\Column(type="string")
*/
#[ORM\Column(name: 'fieldName', type: 'string')]
#[ORM\Column(name: 'field_name', type: 'string')]
protected $fieldName;

/**
Expand Down

0 comments on commit cabd556

Please sign in to comment.