You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SQLite.CodeFirst.Test/IntegrationTests/SqlGenerationTest.cs
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,11 @@ public class SqlGenerationTest
22
22
CREATE TABLE ""FooSelves"" ([FooSelfId] INTEGER PRIMARY KEY, [FooId] int NOT NULL, [Number] int NOT NULL, FOREIGN KEY (FooId) REFERENCES ""Foos""(FooId) ON DELETE CASCADE);
23
23
CREATE TABLE ""FooSteps"" ([FooStepId] INTEGER PRIMARY KEY, [FooId] int NOT NULL, [Number] int NOT NULL, FOREIGN KEY (FooId) REFERENCES ""Foos""(FooId) ON DELETE CASCADE);
24
24
CREATE INDEX ""IX_MyTable_Id"" ON ""MyTable"" (Id);
25
-
CREATE INDEX IX_Team_TeamsName ON ""MyTable"" (Name);
26
-
25
+
CREATE INDEX ""IX_Team_TeamsName"" ON ""MyTable"" (Name);
27
26
CREATE INDEX ""IX_TeamPlayer_Number"" ON ""TeamPlayer"" (Number);
28
-
CREATE UNIQUE INDEX IX_TeamPlayer_NumberPerTeam ON ""TeamPlayer"" (Number, TeamId);
27
+
CREATE UNIQUE INDEX ""IX_TeamPlayer_NumberPerTeam"" ON ""TeamPlayer"" (Number, TeamId);
29
28
CREATE INDEX ""IX_TeamPlayer_Mentor_Id"" ON ""TeamPlayer"" (Mentor_Id);
30
-
CREATE UNIQUE INDEX IX_Stadion_Main ON ""Stadions"" (Street, Name);
29
+
CREATE UNIQUE INDEX ""IX_Stadion_Main"" ON ""Stadions"" (Street, Name);
31
30
CREATE INDEX ""IX_Stadion_Team_Id"" ON ""Stadions"" (Team_Id);
32
31
CREATE INDEX ""IX_Foo_FooSelf1Id"" ON ""Foos"" (FooSelf1Id);
33
32
CREATE INDEX ""IX_Foo_FooSelf2Id"" ON ""Foos"" (FooSelf2Id);
@@ -52,11 +51,18 @@ public void SqliteSqlGeneratorTest()
0 commit comments