Rails generate session_migration -e production

hi,

whenever i run that command it says that the user specified in the
development section cant access the db. why is it pulling from the
development section?

thx