Development

ConvertPropelSchemaToDoctrineSchema

You must first sign up to be able to contribute.

Intro

This batch file convert propel schema to doctrine schema (doctrine plugin 1.x)

Install

Download this batch file and extract to /batch directory of your project.

Run

php batch/propel2doctrine.php

to convert your propel schema to doctrine schema.

Note: This batch only run with propel xml schema

Changelog

0.4

  • remove 'columnName' => '' (for new sfDoctrinePlugin, the old sfDoctrinePlugin still work with this change)

0.3

  • fix error when convert integer type
  • fix missing primary key in doctrine schema
  • fix missing id field in doctrine schema

0.2

fix default value in doctrine schema

0.1

init

Contact

An Vu (an [at] toan2 [dot] com) http://www.symfony.vn

Attachments