fahrschein-db.migration.V10__nakadi_cursor.sql Maven / Gradle / Ivy
CREATE TABLE IF NOT EXISTS nakadi_cursor (
nc_consumer_name text NOT NULL,
nc_event_name text NOT NULL,
nc_partition text NOT NULL,
nc_offset text NOT NULL,
nc_last_modified timestamp without time zone NOT NULL DEFAULT clock_timestamp(),
PRIMARY KEY (nc_consumer_name, nc_event_name, nc_partition)
);