Sha256: 797225c3ebc23bfb9ac9cb1c1eb3b8da5038eba9deaa4d17bfa33b826ed20384

Contents?: true

Size: 740 Bytes

Versions: 7

Compression:

Stored size: 740 Bytes

Contents

-- ----------------------------
--  Table structure for events
-- ----------------------------
DROP TABLE IF EXISTS "public"."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

7 entries across 7 versions & 1 rubygems

Version Path
evt-event_source-postgres-0.18.0.1 database/table/events-table.sql
evt-event_source-postgres-0.18.0.0 database/table/events-table.sql
evt-event_source-postgres-0.17.2.0 database/table/events-table.sql
evt-event_source-postgres-0.17.1.0 database/table/events-table.sql
evt-event_source-postgres-0.17.0.2 database/table/events-table.sql
evt-event_source-postgres-0.17.0.0 database/table/events-table.sql
evt-event_source-postgres-0.16.1.0 database/table/events-table.sql