package com.atlassian.bitbucket.internal.mirroring.mirror.dao;

import net.java.ao.EntityManager;
import net.java.ao.test.jdbc.DatabaseUpdater;

public class AoDatabaseUpdater implements DatabaseUpdater {

    @Override
    public void update(EntityManager entityManager) throws Exception {
        entityManager.migrate(
                AoMirroredProject.class,
                AoProjectMapping.class,
                AoRepositoryMapping.class,
                AoUpstreamServer.class,
                AoUpstreamSettings.class);
    }
}
