Skip to content

Require SQL comment hint to Doctrine types#2

Open
maidmaid wants to merge 1 commit intodevelopfrom
bug/requiresSQLCommentHint
Open

Require SQL comment hint to Doctrine types#2
maidmaid wants to merge 1 commit intodevelopfrom
bug/requiresSQLCommentHint

Conversation

@maidmaid
Copy link
Member

@maidmaid 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