public void deleteTables() throws RedisForemanException
	{
		Set<byte[]> keys = instance.hkeys(ForemanConstants.TableIdentifier.TABLE.getId());
		for (byte[] key : keys)
		{
			Set<byte[]> subkeys = instance.hkeys(key);
			for (byte[] subkey : subkeys)
			{
				instance.hdel(key, subkey);
			}
			boolean isSystemTable = ForemanConstants.TableIdentifier.getIdentifierFromName(key) != null;
			if (!isSystemTable)
			{
				instance.hdel(ForemanConstants.TableIdentifier.TABLE.getId(), key);
				log.info("Table {} deleted", new String(key));
			}
		}
		clearSystemTables();
	}