Re: [symfony-users] Extending model within a plugin : execute SQL statements

2009-12-11 Thread Alexandre Salomé
There is no possibility of generating SQL for a plugin in the plugin folder.

You should ignore these files in version control, because they are generated
when required.

2009/12/11 Adrien Mogenet 

> Hi all,
>
> I'm writing a plugin, with a custom new schema.yml.
>
> Well, doctrine:build-model generates my model files.
>
> doctrine:build-sql build the SQL file in the main SQL file
>
> Is there a clever way to generate SQL statements and execute them
> within a plugin ? Because if I perform doctrine:insert-sql, doctrine
> will execute the whole SQL file...
>
>
> --
> Adrien
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>


-- 
Alexandre Salomé
http://alexandre-salome.fr

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Extending model within a plugin : execute SQL statements

2009-12-11 Thread Adrien Mogenet
Hi all,

I'm writing a plugin, with a custom new schema.yml.

Well, doctrine:build-model generates my model files.

doctrine:build-sql build the SQL file in the main SQL file

Is there a clever way to generate SQL statements and execute them
within a plugin ? Because if I perform doctrine:insert-sql, doctrine
will execute the whole SQL file...


--
Adrien

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.