-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #588 from Particular/fix-subs
Use NVARCHAR for Subscription table
- Loading branch information
Showing
6 changed files
with
62 additions
and
15 deletions.
There are no files selected for viewing
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
src/NServiceBus.NHibernate.Tests/ApprovalFiles/DDL.Outbox_Oracle10g.approved.txt
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,20 @@ | ||
|
||
|
||
drop table OutboxRecord cascade constraints | ||
|
||
drop sequence hibernate_sequence | ||
|
||
create table OutboxRecord ( | ||
Id NUMBER(20,0) not null, | ||
MessageId VARCHAR2(255) not null unique, | ||
Dispatched NUMBER(1,0) not null, | ||
DispatchedAt TIMESTAMP(7), | ||
TransportOperations CLOB, | ||
primary key (Id) | ||
) | ||
|
||
create index OutboxRecord_Dispatched_Idx on OutboxRecord (Dispatched) | ||
|
||
create index OutboxRecord_DispatchedAt_Idx on OutboxRecord (DispatchedAt) | ||
|
||
create sequence hibernate_sequence |
12 changes: 6 additions & 6 deletions
12
...rovalFiles/DDL.Subscriptions.approved.txt → .../DDL.Subscriptions_MsSql2012.approved.txt
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
14 changes: 14 additions & 0 deletions
14
src/NServiceBus.NHibernate.Tests/ApprovalFiles/DDL.Subscriptions_Oracle10g.approved.txt
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,14 @@ | ||
|
||
|
||
drop table Subscription cascade constraints | ||
|
||
create table Subscription ( | ||
SubscriberEndpoint VARCHAR2(450) not null, | ||
MessageType VARCHAR2(450) not null, | ||
LogicalEndpoint VARCHAR2(450), | ||
Version VARCHAR2(450), | ||
TypeName VARCHAR2(450), | ||
primary key (SubscriberEndpoint, MessageType) | ||
) | ||
|
||
create index Subscription_TypeNameIdx on Subscription (TypeName) |
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
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