示例#1
0
        private static void EnsureDatabaseMigrated(DatabaseConfig databaseConfig)
        {
            var migrator = new Migrator(databaseConfig);

            migrator.EnsureDatabseExists();
            migrator.MigrateToLatest();
        }