Changeset 8b6791f for src/FinkiChattery/FinkiChattery.Database/dbo/Tables/Question/Question.Debug.Seed.sql
- Timestamp:
- 10/22/21 21:47:17 (3 years ago)
- Branches:
- dev
- Children:
- 466d1ac, 5ad5988
- Parents:
- 81c2e6f (diff), 70e04f1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/FinkiChattery/FinkiChattery.Database/dbo/Tables/Question/Question.Debug.Seed.sql
r81c2e6f r8b6791f 9 9 VALUES 10 10 (1, N'aee193c3-9d36-4ed8-81b2-15eb4ff305f1', N'Question 1', 'Question 1 text', 1, GETUTCDATE(), NULL, 0, 11 GETUTCDATE() 11 GETUTCDATE(), 2 12 12 ), 13 13 (2, N'bee193c3-9d36-4ed8-81b2-15eb4ff305f1', N'Question 2', 'Question 2 text', 1, GETUTCDATE(), NULL, 0, 14 GETUTCDATE() 14 GETUTCDATE(), 2 15 15 ) 16 ) AS temp ([ID], [Uid], [Title], [Text], [StudentFk], [CreatedOn], [TeamFk], [Views], [LastActiveOn] )16 ) AS temp ([ID], [Uid], [Title], [Text], [StudentFk], [CreatedOn], [TeamFk], [Views], [LastActiveOn], [AnswersCount]) 17 17 ) AS S 18 18 ON T.[ID] = S.[ID] … … 25 25 T.[TeamFk] = S.[TeamFk], 26 26 T.[Views] = S.[Views], 27 T.[LastActiveOn] = S.[LastActiveOn] 27 T.[LastActiveOn] = S.[LastActiveOn], 28 T.[AnswersCount] = S.[AnswersCount] 28 29 WHEN NOT MATCHED THEN 29 30 INSERT … … 37 38 [TeamFk], 38 39 [Views], 39 [LastActiveOn] 40 [LastActiveOn], 41 [AnswersCount] 40 42 ) 41 43 VALUES 42 (S.[ID], S.[Uid], S.[Title], S.[Text], S.[StudentFk], S.[CreatedOn], S.[TeamFk], S.[Views], S.[LastActiveOn] );44 (S.[ID], S.[Uid], S.[Title], S.[Text], S.[StudentFk], S.[CreatedOn], S.[TeamFk], S.[Views], S.[LastActiveOn], S.[AnswersCount]); 43 45 SET IDENTITY_INSERT [dbo].[Question] OFF 44 46 END
Note:
See TracChangeset
for help on using the changeset viewer.