Skip to content
Advertisement

Tag: symfony

Force doctrine datatype choice, from tinytext to varchar

I’ve describe my entity with short text properties with fixed length. When I use the command make:migration, it generates an SQL code with TINYTEXT datatype. In my case it will be more accurate to use VARCHAR, as my properties have short fixed length. I’ve search, but I find no satisfying solutions. I would like to indicate to Doctrine to use

Symfony 5 won’t load CSS file [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. This post was edited and submitted for review 8 months ago and failed to reopen the post: Original close reason(s) were not resolved Improve this question I am

Symfony serve looks for PHP libraries at the wrong place

I had previously multiple installations of PHP on my computer. I deleted all of them and reinstalled php from the official source which is now found at C:\php. The symfony serve command (ran from PhpStorm console) looks for missing modules in the wrong directory. (I don’t even have xampp anymore, but even if I copy the files to the location

ManytoMany ArrrayCollection In forms Symfony

I’m working on a Symfony project where an I have two types of User Client and EmployeSpie, both have their own entity. When you create/edit a user you can link EmployeSpie to a CLient. That’s where is my problem, When I edit or create a user I can create a user but nothing is store inside my table which make

Advertisement