Yes, that I found, too. But there must be a way for setting it in schema for 
doctrine as it has git the removeColumn method. Only problem: I searched all 
possible values in Google, but always just found description of that method. I 
really wonder if it is somehow possible (it should be).

Am Freitag 22 Oktober 2010, um 10:42:20 schrieb Macvek:
> ... MY BAD ... it is for propel ...
> 
> 2010/10/22 Macvek <[email protected]>:
> > Hi,
> > 
> > I've found it in 5 secounds and never tried, but this plugins should
> > do the trick.
> > 
> > http://www.symfony-project.org/plugins/sfPropelSqlDiffPlugin/0_1_6
> > 
> > IN THEORY:
> > Just create a new schema with column removed and then use plugin to
> > create a sql diff database.
> > The diff should create an alter statement.
> > 
> > Regards,
> > Maciej Aleksandrowicz
> > 
> > 2010/10/21 Georg <[email protected]>:
> >> Obviously, if you want to remove a column, you have to *remove* it from
> >> the scheam.yml file (just delete it) ;-)
> >> 
> >> Am 21.10.2010 15:39, schrieb Thomas Ohms:
> >>> Hi all,
> >>> 
> >>> after searching for over an hour I just ask, what seems not to be
> >>> asked before:
> >>> I I like to remove a column from a schema (project based) so
> >>> generating a migrations diff will automatically create a removeColumn
> >>> in migration file. How can I do it?
> >>> 
> >>> My thought was adding column schema.yml in projects config dir, but it
> >>> doesn't seem to work.
> >>> 
> >>> I tried to set a null value (~), a boolean or nothing at all after
> >>> column's name, but I always get an alteration of the column instead of
> >>> removing it.
> >>> 
> >>> Is that supported anyway and if yes what am I doing wrong?
> >>> 
> >>> Cheers,
> >>> Thomas
> >> 
> >> --
> >> If you want to report a vulnerability issue on symfony, please send it
> >> to security at symfony-project.com
> >> 
> >> 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

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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