Sha256: 88d4d01e196e09282a031cc51d8a34610b5cfa0c440021923b8072fb2ada15a2

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 Bytes

Contents

-- ----------------------------
--  Table structure for events
-- ----------------------------
CREATE TABLE "public"."events" (
  "id" UUID NOT NULL DEFAULT gen_random_uuid(),
  "stream_name" varchar(255) NOT NULL COLLATE "default",
  "position" int4 NOT NULL,
  "type" varchar(255) NOT NULL COLLATE "default",
  "global_position" bigserial NOT NULL ,
  "data" jsonb,
  "metadata" jsonb,
  "time" TIMESTAMP WITHOUT TIME ZONE DEFAULT (now() AT TIME ZONE 'utc') NOT NULL
)
WITH (OIDS=FALSE);

-- ----------------------------
--  Primary key structure for table events
-- ----------------------------
ALTER TABLE "public"."events" ADD PRIMARY KEY ("global_position") NOT DEFERRABLE INITIALLY IMMEDIATE;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
evt-event_source-postgres-0.19.0.0 database/table/events-table.sql