CREATE TABLE raw_store_events (
	platform			TEXT 			NOT NULL,
	store_id			TEXT 			NOT NULL,
	event_timestamp		TIMESTAMPTZ 	NOT NULL,
	event_id			TEXT 			NOT NULL,
	raw_payload			JSONB 			NOT NULL,
	parsed				BOOLEAN 		NOT NULL DEFAULT FALSE,

	PRIMARY KEY (platform, store_id, event_id, event_timestamp)
);
