Skip to content

Require SQL comment hint to Doctrine types#2

Open
Dany Maillard (maidmaid) wants to merge 1 commit into
developfrom
bug/requiresSQLCommentHint
Open

Require SQL comment hint to Doctrine types#2
Dany Maillard (maidmaid) wants to merge 1 commit into
developfrom
bug/requiresSQLCommentHint

Conversation

@maidmaid
Copy link
Copy Markdown
Member

@maidmaid Dany Maillard (maidmaid) commented Dec 10, 2021

Allows to automatically add the SQL comment '(DC2Type:..)' after a migration generation.

ALTER TABLE my_table
    ADD range_start DATE DEFAULT NULL COMMENT '(DC2Type:local_date)',
    ADD range_end DATE DEFAULT NULL COMMENT '(DC2Type:local_date)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants