-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing tables for registrations (#315)
* fix: add missing tables for registrations - registrations.OutboxMessages - registrations.InboxMessages - registrations.InternalCommands * Add missing tables for registrations in migrations directory
- Loading branch information
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...eetings.Database/Scripts/Migrations/1_0_0_0/0014_add_missing_tables_for_registrations.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
CREATE TABLE [registrations].[OutboxMessages] | ||
( | ||
[Id] UNIQUEIDENTIFIER NOT NULL, | ||
[OccurredOn] DATETIME2 NOT NULL, | ||
[Type] VARCHAR(255) NOT NULL, | ||
[Data] VARCHAR(MAX) NOT NULL, | ||
[ProcessedDate] DATETIME2 NULL, | ||
CONSTRAINT [PK_registrations_OutboxMessages_Id] PRIMARY KEY ([Id] ASC) | ||
) | ||
GO | ||
|
||
CREATE TABLE [registrations].[InternalCommands] | ||
( | ||
[Id] UNIQUEIDENTIFIER NOT NULL, | ||
[EnqueueDate] DATETIME2 NOT NULL, | ||
[Type] VARCHAR(255) NOT NULL, | ||
[Data] VARCHAR(MAX) NOT NULL, | ||
[ProcessedDate] DATETIME2 NULL, | ||
[Error] NVARCHAR(MAX) NULL, | ||
CONSTRAINT [PK_registrations_InternalCommands_Id] PRIMARY KEY ([Id] ASC) | ||
) | ||
GO | ||
|
||
CREATE TABLE [registrations].[InboxMessages] | ||
( | ||
[Id] UNIQUEIDENTIFIER NOT NULL, | ||
[OccurredOn] DATETIME2 NOT NULL, | ||
[Type] VARCHAR(255) NOT NULL, | ||
[Data] VARCHAR(MAX) NOT NULL, | ||
[ProcessedDate] DATETIME2 NULL, | ||
CONSTRAINT [PK_registrations_InboxMessages_Id] PRIMARY KEY ([Id] ASC) | ||
) | ||
GO |
10 changes: 10 additions & 0 deletions
10
...Database/CompanyName.MyMeetings.Database/Structure/registrations/Tables/InboxMessages.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE TABLE [registrations].InboxMessages | ||
( | ||
[Id] UNIQUEIDENTIFIER NOT NULL, | ||
[OccurredOn] DATETIME2 NOT NULL, | ||
[Type] VARCHAR(255) NOT NULL, | ||
[Data] VARCHAR(MAX) NOT NULL, | ||
[ProcessedDate] DATETIME2 NULL, | ||
CONSTRAINT [PK_registrations_InboxMessages_Id] PRIMARY KEY ([Id] ASC) | ||
) | ||
GO |
11 changes: 11 additions & 0 deletions
11
...abase/CompanyName.MyMeetings.Database/Structure/registrations/Tables/InternalCommands.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CREATE TABLE [registrations].InternalCommands | ||
( | ||
[Id] UNIQUEIDENTIFIER NOT NULL, | ||
[EnqueueDate] DATETIME2 NOT NULL, | ||
[Type] VARCHAR(255) NOT NULL, | ||
[Data] VARCHAR(MAX) NOT NULL, | ||
[ProcessedDate] DATETIME2 NULL, | ||
[Error] NVARCHAR(MAX) NULL, | ||
CONSTRAINT [PK_registrations_InternalCommands_Id] PRIMARY KEY ([Id] ASC) | ||
) | ||
GO |
10 changes: 10 additions & 0 deletions
10
...atabase/CompanyName.MyMeetings.Database/Structure/registrations/Tables/OutboxMessages.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE TABLE [registrations].OutboxMessages | ||
( | ||
[Id] UNIQUEIDENTIFIER NOT NULL, | ||
[OccurredOn] DATETIME2 NOT NULL, | ||
[Type] VARCHAR(255) NOT NULL, | ||
[Data] VARCHAR(MAX) NOT NULL, | ||
[ProcessedDate] DATETIME2 NULL, | ||
CONSTRAINT [PK_registrations_OutboxMessages_Id] PRIMARY KEY ([Id] ASC) | ||
) | ||
GO |