CREATE TABLE IF NOT EXISTS raid_builder.game(
	game_id uuid PRIMARY KEY,
	game_name text UNIQUE NOT NULL,
	game_icon text,

	--Auditing
	modified_by uuid,
	modified_date timestamptz,
	created_by uuid NOT NULL,
	created_date timestamptz NOT NULL
);

CREATE INDEX idx_game_game_name ON raid_builder.game(game_name);

GRANT ALL ON TABLE raid_builder.game TO raid_builder;
