This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

build Schema error in propel

Discussion relating to version 1.2.x stable

build Schema error in propel

by jasmine2607 » Tue Oct 18, 2011 1:47 pm

Hi,
I am new to symfony. I am trying to build propel schema, but it through the below message, why?
can anyone explain and give the solution.

C:\xampp\htdocs\checklist>php symfony propel:build-schema
>> propel Running "reverse" phing task
>> schema converting "C:/xampp/htdocs/checklist/config/schema.xml" to YML
>> schema putting C:/xampp/htdocs/checklist/config/schema.yml
jasmine2607
Junior Member
 
Posts: 1
Joined: Sat Aug 27, 2011 10:50 am

Re: build Schema error in propel

by bytestechnolab » Tue Nov 01, 2011 8:43 am

Hi Jasmine,

symfony propel:build-schema actually generate schema from the existing database based on defined database connection. Once schema is generated from database you need to generate model based on that by symfony propel:build-model command, that you are going to use in your application. There are other command like symfony propel:build-form also there which required to generate forms.

Thanks,
Bytestechnolab
http://www.bytestechnolab.com
bytestechnolab
Junior Member
 
Posts: 6
Joined: Mon Oct 31, 2011 3:22 pm