package org.cri.redmetrics.db;

import com.j256.ormlite.jdbc.JdbcConnectionSource;
import org.cri.redmetrics.model.*;

import java.sql.SQLException;

public class Db {

    public static final String URL = "jdbc:postgresql://localhost:5432/redmetrics";
    public static final Class[] ENTITY_TYPES = {
            Address.class,
            Event.class,
            Snapshot.class,
            Game.class,
            GameVersion.class,
            Group.class,
            Player.class};

    public static JdbcConnectionSource newConnectionSource() throws SQLException {
        return new JdbcConnectionSource(URL, DbUser.NAME, DbUser.PASSWORD);
    }

}

@@ -566,16 +566,25 @@
 ption %7B%0A
+        %0A
         

revert from last commit