Symfony 1.3 offers new tasks for removing old classes :

http://www.symfony-project.org/tutorial/1_3/en/whats-new#chapter_64a8dd2fac010cece60fe956d341725f_sub_new_tasks

Sure, you have to master your model, and know that when you're removing a
class from your schema, you have to remove the generated files.

But now you know ;)

Alexandre

2009/10/19 mini_alexander <[email protected]>

>
> I make that and then everything is ok but I thought that there is more
> comfortable way - maybe some command which I could write in console xD
>
> On 19 Paź, 16:19, Gareth McCumskey <[email protected]> wrote:
> > So go to your models folder and delete them. If you don't nothing bad
> > happens, those files just wont get used is all.
> >
> >
> >
> > On Mon, Oct 19, 2009 at 3:57 PM, mini_alexander <[email protected]>
> wrote:
> >
> > > Yes but Symfony doesn't delete old models.
> >
> > > On 19 Paź, 15:12, Gareth McCumskey <[email protected]> wrote:
> > > > Did you remember to clear cache after altering your schema.yml?
> >
> > > > On Mon, Oct 19, 2009 at 10:32 AM, mini_alexander <
> [email protected]
> > > >wrote:
> >
> > > > > In old schema.yml I had some table, then I deleted this table from
> > > > > schema.yml but this table is still creating when I write in
> console:
> > > > > php symfony doctrine:build-all-reload
> >
> > > > > I must delete from /lib/filter, /lib/form and /lib/model all files
> > > > > which have got in name, name this table and then after:
> > > > > php symfony doctrine:build-all-reload
> >
> > > > > everything is ok - I have in database tables from new schema.yml
> > > > > without this table, but it isn't comfortable - is other way ?
> >
> > > > --
> > > > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> > > > twitter: @garethmcc
> >
> > --
> > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> > twitter: @garethmcc
> >
>


-- 
Alexandre Salomé -- [email protected]

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

Reply via email to