Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[make:entity] default value #1557

Open
seb-jean opened this issue May 10, 2024 · 0 comments
Open

[make:entity] default value #1557

seb-jean opened this issue May 10, 2024 · 0 comments

Comments

@seb-jean
Copy link
Contributor

seb-jean commented May 10, 2024

Hi,
It might be cool to ask for a default value.
Then the default value will be put in __construct() and in #[ORM\Column(options: ['default' => ...])]
I also refer to this link: https://hardly-smart.fr/articles/3/pourquoi-il-ne-faut-pas-mise-de-valeur-par-defaut-dans-les-entites-doctrine

@seb-jean seb-jean changed the title [make:entity] default value [make:entity] default value May 10, 2024
MathisBurger added a commit to MathisBurger/maker-bundle that referenced this issue May 10, 2024
MathisBurger added a commit to MathisBurger/maker-bundle that referenced this issue May 10, 2024
MathisBurger added a commit to MathisBurger/maker-bundle that referenced this issue May 10, 2024
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

No branches or pull requests

1 participant