From c8d9f9c249211d555ad2fff51855bd0ea61917a1 Mon Sep 17 00:00:00 2001 From: danhaywood Date: Tue, 1 Oct 2019 12:26:51 +0100 Subject: [PATCH] #115 - adds the DDL to create OutboxEvent table (SQL Server syntax) --- .../main/ddl/issue-115-adds-OutboxEvent.sql | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 modules/spi/publishmq/impl/jdo/src/main/ddl/issue-115-adds-OutboxEvent.sql diff --git a/modules/spi/publishmq/impl/jdo/src/main/ddl/issue-115-adds-OutboxEvent.sql b/modules/spi/publishmq/impl/jdo/src/main/ddl/issue-115-adds-OutboxEvent.sql new file mode 100644 index 000000000..49caa3790 --- /dev/null +++ b/modules/spi/publishmq/impl/jdo/src/main/ddl/issue-115-adds-OutboxEvent.sql @@ -0,0 +1,25 @@ +-- +-- https://github.com/incodehq/incode-platform/issues/115 +-- + +CREATE TABLE [isispublishmq].[OutboxEvent]( + [sequence] [int] NOT NULL, + [transactionId] [varchar](36) NOT NULL, + [eventType] [varchar](20) NOT NULL, + [memberIdentifier] [varchar](255) NULL, + [serializedForm] [text] NULL, + [targetAction] [varchar](50) NULL, + [targetClass] [varchar](50) NULL, + [target] [varchar](2000) NULL, + [timestamp] [datetime2](7) NOT NULL, + [title] [varchar](255) NOT NULL, + [user] [varchar](50) NOT NULL, + CONSTRAINT [OutboxEvent_PK] PRIMARY KEY CLUSTERED +( + + [transactionId] ASC, + [sequence] ASC +) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 12) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] + +go