[Rails] Re: change column to allow null

2010-03-23 Thread ES
cool thanks On Mar 23, 5:21 pm, Colin Law wrote: > On 23 March 2010 16:11, ES wrote: > > > Actually, I had :null=> true > > > On Mar 23, 5:01 pm, ES wrote: > >> how do I change the column in a table to allow null? > > >> I have > > >>     change_column :docs, :orga,    :null > > If you check th

Re: [Rails] Re: change column to allow null

2010-03-23 Thread Colin Law
On 23 March 2010 16:11, ES wrote: > Actually, I had :null=> true > > On Mar 23, 5:01 pm, ES wrote: >> how do I change the column in a table to allow null? >> >> I have >> >>     change_column :docs, :orga,    :null If you check the docs for change_column you will see that you need the column typ

[Rails] Re: change column to allow null

2010-03-23 Thread ES
Actually, I had :null=> true On Mar 23, 5:01 pm, ES wrote: > how do I change the column in a table to allow null? > > I have > >     change_column :docs, :orga,    :null > > in my migration file but I get an error: > > Mysql::Error: You have an error in your SQL syntax; check the manual > that co