Quantcast
Channel: Commentaires sur : Add new Data Type in Doctrine 2 in Symfony 2
Viewing all articles
Browse latest Browse all 11

Par : Jose Celano

$
0
0

You can also add the type using config.yml file:

doctrine:
dbal:
driver: « %database_driver% »
host: « %database_host% »
port: « %database_port% »
dbname: « %database_name% »
user: « %database_user% »
password: « %database_password% »
charset: UTF8
types:
longblog: MyProject\LongBlob


Viewing all articles
Browse latest Browse all 11

Trending Articles