Use migration in component

Hello guys.

Can anyone tell me how can I use migration classes (protected/migration/) in my component class (protected/component). Actually if i try to create object of migration class directly it gives me this error

include(m120104_192534_test.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory

Any Idea?

O.k. I got that I have to add application.migrations.* string in import (config/main.php) file. But now I want to access it in module’s component…

When i do that it access it and create its object perfectly but when i access its up function it gives me an error

Property "m120104_192534_test.up" is not defined.

Any idea?

Got it…