
create table accounting (
	bytesin		int not null,
	bytesout	int not null,
	host		varchar(128) not null,
	time 		datetime default now()
);

CREATE INDEX accounting_host_index ON accounting (host);

GRANT SELECT, INSERT, UPDATE, DELETE ON accounting TO "@dbuser@";
