-
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.
- Loading branch information
1 parent
16f330d
commit 65ad378
Showing
4 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
42 changes: 42 additions & 0 deletions
42
src/NServiceBus.NHibernate.Tests/ApprovalFiles/DDL.Sagas_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,42 @@ | ||
|
||
|
||
drop table MySaga_CollectionEntry cascade constraints | ||
|
||
drop table MySaga cascade constraints | ||
|
||
drop table EntriesWithoutId cascade constraints | ||
|
||
create table MySaga_CollectionEntry ( | ||
Id RAW(16) not null, | ||
Value NUMBER(19,5), | ||
SagaData_id RAW(16), | ||
primary key (Id) | ||
) | ||
|
||
create table MySaga ( | ||
Id RAW(16) not null, | ||
Originator VARCHAR2(255), | ||
OriginalMessageId VARCHAR2(255), | ||
UniqueId VARCHAR2(255) unique, | ||
primary key (Id) | ||
) | ||
|
||
create table EntriesWithoutId ( | ||
SagaData_id RAW(16) not null, | ||
Value1 NUMBER(19,5), | ||
Value2 NUMBER(19,5) | ||
) | ||
|
||
create index IDX236CFC11C9055018 on MySaga_CollectionEntry (SagaData_id) | ||
|
||
alter table MySaga_CollectionEntry | ||
add constraint FK236CFC11C9055018 | ||
foreign key (SagaData_id) | ||
references MySaga | ||
|
||
create index IDX7519A193C9055018 on EntriesWithoutId (SagaData_id) | ||
|
||
alter table EntriesWithoutId | ||
add constraint FK7519A193C9055018 | ||
foreign key (SagaData_id) | ||
references MySaga |
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