Added task to Rake - automigrate and autoupgrade