Typeorm: execute migrations through code

Created on 16 Mar 2017  路  3Comments  路  Source: typeorm/typeorm

Is there a way to execute migrations through my code?

question

Most helpful comment

you can do that using connection.runMigrations() method

All 3 comments

you can do that using connection.runMigrations() method

Thank you! I'm developing a solution on electron and sqlite. It will be so helpful to my application updates.

good to help 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MichalLytek picture MichalLytek  路  3Comments

juanjalvarez picture juanjalvarez  路  3Comments

banduk picture banduk  路  3Comments

Ionaru picture Ionaru  路  3Comments

SPAHI4 picture SPAHI4  路  3Comments