Skip to content

Commit bc0805a

Browse files
committed
Tweaks for #1563 - mostly spacing changes
1 parent e9e4324 commit bc0805a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

book/doctrine.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,31 +80,31 @@ information. By convention, this information is usually configured in an
8080
more information, see :doc:`/cookbook/configuration/external_parameters`.
8181

8282
.. sidebar:: Setting Up The Database
83-
83+
8484
One mistake even seasoned developers make when starting a Symfony2 project
8585
is forgetting to setup default charset and collation on their database,
8686
ending up with latin type collations, which are default for most databases.
8787
They might even remember to do it the very first time, but forget that
8888
it's all gone after running a relatively common command during development:
89-
89+
9090
.. code-block:: bash
91-
91+
9292
$ app/console doctrine:database:drop --force
9393
$ app/console doctrine:database:create
94-
95-
There's no way to configure these defaults inside doctrine, as it tries to be
96-
as agnostic as possible in terms of enviroment configuration. One way to solve
97-
this problem is to configure server level defaults.
98-
99-
Setting UTF8 defaults for MySQL is as simple as adding a few lines to configuration file
100-
(typically ``my.cnf``):
101-
94+
95+
There's no way to configure these defaults inside Doctrine, as it tries to be
96+
as agnostic as possible in terms of environment configuration. One way to solve
97+
this problem is to configure server-level defaults.
98+
99+
Setting UTF8 defaults for MySQL is as simple as adding a few lines to
100+
your configuration file (typically ``my.cnf``):
101+
102102
.. code-block:: ini
103103
104104
[mysqld]
105105
collation-server = utf8_general_ci
106106
character-set-server = utf8
107-
107+
108108
Now that Doctrine knows about your database, you can have it create the database
109109
for you:
110110

0 commit comments

Comments
 (0)