Michael Granger
Not a member
Michael Granger's latest activity
Sunday, April 24 2011
6648
PostgreSQL add column behaves differently to other adaptors (SQlite, MySQL) w...
was updated
in Ruby on Rails
-
Michael Granger commented at 4:09 AMI'm sorry, I must have read the diff backwards for some reason. Your patch modifies it to do exactly what I'd expect.
Tuesday, April 19 2011
6648
PostgreSQL add column behaves differently to other adaptors (SQlite, MySQL) w...
was updated
in Ruby on Rails
-
Michael Granger commented at 3:28 PMI'm not sure why your migrations aren't doing this, but PostgreSQL does set the default values on new columns in an ALTER TABLE:
$ psql test psql (9.0....