Development

HowtoBuildASchemaWithoutVendorInfo (diff)

You must first sign up to be able to contribute.

Changes from Version 1 of HowtoBuildASchemaWithoutVendorInfo

Show
Ignore:
Author:
johnfitzpatrick (IP: 60.224.150.201)
Timestamp:
01/27/06 02:06:03 (12 years ago)
Comment:

Initial content

Legend:

Unmodified
Added
Removed
Modified
  • HowtoBuildASchemaWithoutVendorInfo

    v0 v1  
     1= Symfony Howto: Generate an XML data model without vendor information = 
     2 
     3== Purpose == 
     4 
     5  The [http://www.symfony-project.com/content/book/page/model.html Symfony model]  
     6  documentation page describes how to generate an XML data model from an existing database,  
     7  via the `build-schema` command. 
     8 
     9  The default settings for the command produce a `schema.xml` doc which includes detailed  
     10  'vendor info' tags.  These tags describe DBMS vendor-specific table and column settings,  
     11  which are useful in enabling Symfony to faithfully reproduce the original SQL 
     12  [http://en.wikipedia.org/wiki/Data_Definition_Language DDL] statements.  Even so, it can  
     13  be helpful to be able to generate a more abstract schema without this detail. 
     14 
     15== Method == 
     16 
     17  The inclusion of vendor info is simply a configuration option of the `build-schema` task,  
     18  and is enabled by default.  To configure the task to exclude vendor info, add the following  
     19  line to your project's `config/propel.ini` file: 
     20 
     21  {{{ 
     22  propel.addVendorInfo = false 
     23}}} 
     24 
     25  Then call the `build-schema` command: 
     26 
     27  {{{ 
     28  $ symfony build-schema 
     29}}}