	public boolean OpenDatabase() {
		try {
			Class.forName("org.sqlite.JDBC");
			Conn = DriverManager.getConnection("jdbc:sqlite:plugins/" + plugin.getName() + "/" + DBFilename);
			IsConnected = true;
			if (TableExists(Conn, "birthdaygift")) {
				if (!ColumnExists(Conn, "birthdaygift", "lastAnnouncedDate")) {
					plugin.Warn("Old table format detected!");
					plugin.Log("Creating backup of existing database...");
					Path src = Paths.get("plugins/" + plugin.getName() + "/" + DBFilename);
					Path dst = Paths.get("plugins/" + plugin.getName() + "/backup.db");
					try {
						Files.copy(src, dst, new CopyOption[] { REPLACE_EXISTING });
					} catch (IOException e) {
						plugin.Warn("Unable to create database backup! Refusing to continue!!");
						Conn.close();
						IsConnected = false;
						e.printStackTrace();
						return false;
					}
					plugin.Log("Updating database table...");
					int result = ExecuteUpdate("ALTER TABLE birthdaygift ADD COLUMN `lastAnnouncedDate` DATE");
					plugin.Debug("SQL Result: " + result);
				}
			} else {
				plugin.Log("Database table does not exist, creating one.");
				ExecuteUpdate("CREATE TABLE IF NOT EXISTS birthdaygift (" +
						"`player` varchar(250) NOT NULL PRIMARY KEY, " +
						"`birthdayDate` DATE," +
						"`lastGiftDate` DATE," +
						"`lastAnnouncedDate` DATE)");
			}
			IsConnected = true;
			return false;
		} catch (SQLException e) {
			plugin.Warn("Unable to open database!");
			e.printStackTrace();
		}
		return false;
	}

	public boolean OpenDatabase() {
		try {
			Class.forName("org.sqlite.JDBC");
			Conn = DriverManager.getConnection("jdbc:sqlite:plugins/" + plugin.getName() + "/" + DBFilename);
			IsConnected = true;
			if (TableExists(Conn, "birthdaygift")) {
				if (!ColumnExists(Conn, "birthdaygift", "lastAnnouncedDate")) {
					plugin.Warn("Old table format detected!");
					plugin.Log("Creating backup of existing database...");
					Path src = Paths.get("plugins/" + plugin.getName() + "/" + DBFilename);
					Path dst = Paths.get("plugins/" + plugin.getName() + "/backup.db");
					try {
						Files.copy(src, dst, new CopyOption[] { REPLACE_EXISTING });
					} catch (IOException e) {
						plugin.Warn("Unable to create database backup! Refusing to continue!!");
						Conn.close();
						IsConnected = false;
						e.printStackTrace();
						return false;
					}
					plugin.Log("Updating database table...");
					int result = ExecuteUpdate("ALTER TABLE birthdaygift ADD COLUMN `lastAnnouncedDate` DATE");
					plugin.Debug("SQL Result: " + result);
				}
			} else {
				plugin.Log("Database table does not exist, creating one.");
				ExecuteUpdate("CREATE TABLE IF NOT EXISTS birthdaygift (" +
						"`player` varchar(250) NOT NULL PRIMARY KEY, " +
						"`birthdayDate` DATE," +
						"`lastGiftDate` DATE," +
						"`lastAnnouncedDate` DATE)");
			}
			IsConnected = true;
			return false;
		} catch (SQLException e) {
			plugin.Warn("Unable to open database!");
			e.printStackTrace();
			return false;
		} catch (ClassNotFoundException e) {
			plugin.Warn("Unable to find a suitable SQLite driver!");
			e.printStackTrace();
			return false;
		}
		return false;
	}
