Skip to content

Commit 168ee8f

Browse files
committed
Docker is now working
1 parent f422607 commit 168ee8f

File tree

14 files changed

+71
-66
lines changed

14 files changed

+71
-66
lines changed

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v06.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
create table ApplicationVersions
1+
create table dbo.ApplicationVersions
22
(
33
Id int not null identity primary key,
44
ApplicationId int not null foreign key references Applications (Id),
@@ -8,7 +8,7 @@
88
Version varchar(10) not null
99
);
1010

11-
create table ApplicationVersionMonths
11+
create table dbo.ApplicationVersionMonths
1212
(
1313
Id int not null identity primary key,
1414
VersionId int not null foreign key references ApplicationVersions (Id),
@@ -18,7 +18,7 @@ create table ApplicationVersionMonths
1818
LastUpdateAtUtc datetime not null
1919
);
2020

21-
create table IncidentVersions
21+
create table dbo.IncidentVersions
2222
(
2323
IncidentId int not null constraint FK_IncidentVersions_Incidents references Incidents(Id),
2424
VersionId int not null constraint FK_IncidentVersions_ApplicationVersions references ApplicationVersions(Id)

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v07.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATE TABLE MessageQueue
1+
CREATE TABLE dbo.MessageQueue
22
(
33
Id int not null identity primary key,
44
QueueName varchar(40) not null,

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v09.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ BEGIN
4646
END;
4747
ALTER TABLE IncidentVersions WITH CHECK ADD CONSTRAINT FK_IncVersions_Incidents FOREIGN KEY (IncidentId) REFERENCES Incidents (Id) ON DELETE CASCADE;
4848

49-
create table ErrorReportCollectionProperties
49+
create table dbo.ErrorReportCollectionProperties
5050
(
5151
Id int identity not null primary key,
5252
ReportId int not null constraint FK_ErrorReportCollectionProperties_ErrorReports REFERENCES ErrorReports(Id) ON DELETE CASCADE,
@@ -56,7 +56,7 @@ create table ErrorReportCollectionProperties
5656
);
5757

5858

59-
create table ErrorReportCollectionInbound
59+
create table dbo.ErrorReportCollectionInbound
6060
(
6161
Id int identity not null primary key,
6262
ReportId int not null constraint FK_ErrorReportCollectionInbound_ErrorReports REFERENCES ErrorReports(Id) ON DELETE CASCADE,
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
create table IncidentEnvironments
1+
create table dbo.IncidentEnvironments
22
(
33
Id int not null identity primary key,
44
IncidentId int not null constraint FK_IncidentEnvironment_Incidents REFERENCES Incidents(Id) ON DELETE CASCADE,
55
EnvironmentName varchar(50) not null
66
);
77

8-
create table IncidentHistory
8+
create table dbo.IncidentHistory
99
(
1010
Id int not null identity primary key,
1111
IncidentId int not null constraint FK_IncidentHistory_Incidents REFERENCES Incidents(Id) ON DELETE CASCADE,
@@ -14,5 +14,6 @@ create table IncidentHistory
1414
State int not null,
1515
ApplicationVersion varchar(40) NULL -- for action where version is not related to the action
1616
);
17+
go
1718
alter table Incidents add IgnoredUntilVersion varchar(20) null;
1819
CREATE NONCLUSTERED INDEX IX_IncidentHistory_Incidents ON dbo.IncidentHistory (IncidentId);

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v13.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
create table ErrorReportSpikes
1+
create table dbo.ErrorReportSpikes
22
(
33
Id int identity not null primary key,
44
ApplicationId int not null constraint FK_ErrorReportSpikes_Applications REFERENCES Applications(Id) ON DELETE CASCADE,

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v15.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
create Table IgnoredReports
1+
create Table dbo.IgnoredReports
22
(
33
Id int not null identity primary key,
44
NumberOfReports int not null,

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v17.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
create table Environments
1+
create table dbo.Environments
22
(
33
Id int identity not null primary key,
44
Name varchar(100) not null,
55
);
66

7-
drop table IncidentEnvironments;
8-
CREATE TABLE IncidentEnvironments
7+
drop table dbo.IncidentEnvironments;
8+
CREATE TABLE dbo.IncidentEnvironments
99
(
1010
IncidentId int not null constraint FK_IncidentEnvironment_Incident foreign key references Incidents(Id) ON DELETE CASCADE,
1111
EnvironmentId int not null constraint FK_IncidentEnvironment_Environments foreign key references Environments(Id),

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v19.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATE TABLE IncidentReports
1+
CREATE TABLE dbo.IncidentReports
22
(
33
Id int not null identity primary key,
44
IncidentId int not null constraint FK_IncidentReports_Incidents foreign key references Incidents(Id) on delete cascade,

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v20.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
create table CorrelationIds
1+
create table dbo.CorrelationIds
22
(
33
Id int identity not null primary key,
44
Value varchar(40) not null
55
);
66

7-
create table IncidentCorrelations
7+
create table dbo.IncidentCorrelations
88
(
99
Id int identity not null primary key,
1010
CorrelationId int not null constraint FK_IncidentCorrelations_CorrelationIds foreign key references CorrelationIds(Id),

src/Server/Coderr.Server.SqlServer/Schema/Coderr.v21.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
create table WhitelistedDomains
1+
create table dbo.WhitelistedDomains
22
(
33
Id int not null identity primary key,
44
DomainName varchar(255) not null
55
);
66

7-
create table WhitelistedDomainApps
7+
create table dbo.WhitelistedDomainApps
88
(
99
Id int not null identity primary key,
1010
DomainId int not null constraint FK_WhitelistedDomainApps_WhitelistedDomains foreign key references WhitelistedDomains(Id) ON DELETE CASCADE,
1111
ApplicationId int not null constraint FK_WhitelistedDomainApps_Applications foreign key references Applications(Id) ON DELETE CASCADE,
1212
);
1313

14-
create table WhitelistedDomainIps
14+
create table dbo.WhitelistedDomainIps
1515
(
1616
Id int not null identity primary key,
1717
DomainId int not null constraint FK_WhitelistedDomainIps_WhitelistedDomains foreign key references WhitelistedDomains(Id) ON DELETE CASCADE,

0 commit comments

Comments
 (0)