Permalink
Browse files

doctrine1-documentation-17: Fix database-abstraction-layer.rst

  • Loading branch information...
1 parent f1b910e commit c1c7de1323381513405d1ef477088f27750cfb98 @jeserkin jeserkin committed Apr 17, 2012
Showing with 17 additions and 17 deletions.
  1. +17 −17 source/en/manual/database-abstraction-layer.rst
@@ -42,31 +42,31 @@ finally dropped, in a database named ``events_db``:
**events**
-============ =============== ========= ==============
+============ =============== ========= ================
Name Type Primary Auto Increment
-============ =============== ========= ==============
+============ =============== ========= ================
``id`` ``integer`` ``true`` ``true``
``name`` ``string(255)`` ``false`` ``false``
``datetime`` ``timestamp`` ``false`` ``false``
-============ =============== ========= ==============
+============ =============== ========= ================
**people**
-======== =============== ========= ==============
+======== =============== ========= ================
Name Type Primary Auto Increment
-======== =============== ========= ==============
+======== =============== ========= ================
``id`` ``integer`` ``true`` ``true``
``name`` ``string(255)`` ``false`` ``false``
-======== =============== ========= ==============
+======== =============== ========= ================
**event_participants**
-============= =============== ======== ==============
+============= =============== ======== ================
Name Type Primary Auto Increment
-============= =============== ======== ==============
+============= =============== ======== ================
``event_id`` ``integer`` ``true`` ``false``
``person_id`` ``string(255)`` ``true`` ``false``
-============= =============== ======== ==============
+============= =============== ======== ================
------------------
Creating Databases
@@ -305,16 +305,16 @@ third:
============ =============== ====================================================================================================
Name Type Description
============ =============== ====================================================================================================
-//$name// ``string`` Name of the table that is intended to be changed.
-//$changes// ``array`` Associative array that contains the details of each type of change that is intended to be performed.
+**$name** ``string`` Name of the table that is intended to be changed.
+**$changes** ``array`` Associative array that contains the details of each type of change that is intended to be performed.
============ =============== ====================================================================================================
An optional third parameter (default: ``false``):
========== =========== ======================================================================
Name Type Description
========== =========== ======================================================================
-//$check// ``boolean`` Check if the DBMS can actually perform the operation before executing.
+**$check** ``boolean`` Check if the DBMS can actually perform the operation before executing.
========== =========== ======================================================================
The types of changes that are currently supported are defined as
@@ -323,17 +323,17 @@ follows:
=========== =============================================================================================================================================
Change Description
=========== =============================================================================================================================================
-//name// New name for the table.
-//add// Associative array with the names of fields to be added as indexes of the array. The value of each entry of
+**name** New name for the table.
+**add** Associative array with the names of fields to be added as indexes of the array. The value of each entry of
the array should be set to another associative array with the properties of
the fields to be added. The properties of the fields should be the same as defined by the Doctrine parser.
-// remove// Associative array with the names of fields to be removed as indexes of the array. Currently the values assigned to each entry are ignored. An
+**remove** Associative array with the names of fields to be removed as indexes of the array. Currently the values assigned to each entry are ignored. An
empty array should be used for future compatibility.
-//rename// Associative array with the names of fields to be renamed as indexes of the array. The value of each entry of the array should be set to
+**rename** Associative array with the names of fields to be renamed as indexes of the array. The value of each entry of the array should be set to
another associative array with the entry named name with the new
field name and the entry named Declaration that is expected to contain the portion of the field declaration already in DBMS specific SQL code
as it is used in the ``CREATE TABLE`` statement.
-//change// Associative array with the names of the fields to be changed as indexes of the array. Keep in mind that if it is intended to change
+**change** Associative array with the names of the fields to be changed as indexes of the array. Keep in mind that if it is intended to change
either the name of a field and any other properties, the change array
entries should have the new names of the fields as array indexes.
=========== =============================================================================================================================================

0 comments on commit c1c7de1

Please sign in to comment.