-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic seed data for 2024 and instructions in readme
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
PocketDDD.Server/PocketDDD.Server.DB/Migrations/2024_SeedData.sql
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,25 @@ | ||
delete [UserSessionFeedback] | ||
delete [UserEventFeedback] | ||
delete [Sessions] | ||
delete TimeSlots | ||
delete Tracks | ||
delete EventDetail | ||
|
||
|
||
GO | ||
|
||
DBCC CHECKIDENT ('[EventDetail]', RESEED, 0); | ||
DBCC CHECKIDENT ('[Tracks]', RESEED, 0); | ||
DBCC CHECKIDENT ('[TimeSlots]', RESEED, 0); | ||
DBCC CHECKIDENT ('[Sessions]', RESEED, 0); | ||
|
||
GO | ||
|
||
Insert into EventDetail values (1, 'kn91wz1x') | ||
|
||
Insert into Tracks values (1, 'Track 1','The Junction 🚉', 0) | ||
Insert into Tracks values (1, 'Track 2','Brunel''s Boardroom 🎩🛹', 1) | ||
Insert into Tracks values (1, 'Track 3','Brunel''s Breakout room 🎩☕', 2) | ||
Insert into Tracks values (1, 'Track 4','Clock tower room ⏲', 3) | ||
|
||
GO |
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