All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nasrutishauser.transactional-event-quarkus-deployment.2.1.2.source-code.transactional-event-tables-mysql.sql Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
DROP INDEX event_store_locked_until ON event_store;
DROP TABLE event_store;

CREATE TABLE event_store (
	id VARCHAR(50) NOT NULL,
	event_type VARCHAR(50) NOT NULL,
	context VARCHAR(4000),
	payload VARCHAR(4000) NOT NULL,
	published_at TIMESTAMP NOT NULL,
	tries INT NOT NULL,
	lock_owner VARCHAR(50),
	locked_until BIGINT NOT NULL,
	PRIMARY KEY (id)
);

CREATE INDEX event_store_locked_until ON event_store (locked_until);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy