We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e9fee5 commit b24544bCopy full SHA for b24544b
1 file changed
PocketDDD.Server/PocketDDD.Server.DB/Migrations/2024_SeedData.sql
@@ -12,11 +12,14 @@ delete EventDetail
12
GO
13
14
-- Reset the identity columns
15
-DBCC CHECKIDENT ('[EventDetail]', RESEED, 1); -- There is hardcoding to EventDetail ID 1 so we reset to 1 not 0
16
DBCC CHECKIDENT ('[Tracks]', RESEED, 0);
17
DBCC CHECKIDENT ('[TimeSlots]', RESEED, 0);
18
DBCC CHECKIDENT ('[Sessions]', RESEED, 0);
19
+-- There is hardcoding to EventDetail ID 1 so we reset to 1 not 0
20
+DBCC CHECKIDENT ('[EventDetail]', RESEED, 1); -- Use if this is a brand new table that has never been used before
21
+--DBCC CHECKIDENT ('[EventDetail]', RESEED, 0); -- Use if this is an empty table that used to have rows
22
+
23
24
25
-- Add 2024 Sessionize ID
0 commit comments