Question on rake and migrations in netbeans

The demos on the netbeans site are good but show creating the db by
a sql script.

Has anyone figured out how to run migrations from the ide? And how do
tasks get executed from the ide?

(I wasn’t sure whether to post this here but with the unfortunate
demise of
radrails and the good job netbeans appears to be doing, I would expect
of us to be using nb a our main dev env.