This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » Problem with build schema
Problem with build schema [message #103143] Tue, 27 July 2010 18:09 Go to next message
lqse  is currently offline lqse
Messages: 2
Registered: July 2010
Junior Member
Hi,I am working a project that must use mssql 2005 and run on windows
server.
(windows xp, apache2, mssql 2005, symfony 1.4...actual, php
5.3.1)

I connect to sql server on windows via propel, the connection works fine, I could built tables into the database, but when I build a schema depend on the excites database. This is all the content I get from schema.yml.

propel:
_attributes:
package: lib.model
defaultIdMethod: native

And I tried to build the models. No models generated.

I am new to symfony. Can anyone help me, Please?



Re: Problem with build schema [message #103147 is a reply to message #103143 ] Tue, 27 July 2010 19:20 Go to previous messageGo to next message
xplo  is currently offline xplo
Messages: 428
Registered: September 2008
Faithful Member
how sure are you that your connection is working with propel ?

Last time i checked there was no pdo mssql driver compatible with php 5.3.x

Obvously if schema.yml got no table , build-model will build nothing.
Re: Problem with build schema [message #103153 is a reply to message #103147 ] Wed, 28 July 2010 04:43 Go to previous message
lqse  is currently offline lqse
Messages: 2
Registered: July 2010
Junior Member
Thanks for your answer. I tried to build tables by insert-sql comment line, which using the schema.yml file I copied from Jobeet tutorial. The tables have been build. That why I think the connection works fine.
Previous Topic:Symfony one-to-many embedrelation showing multiple forms
Next Topic:How to build model dynamically for user defined table feilds
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software