Ignore:
Timestamp:
10/22/21 21:47:17 (3 years ago)
Author:
Стојков Марко <mst@…>
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.
Message:

Merged feature/preview-questions-and-search into dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FinkiChattery/FinkiChattery.Database/dbo/Tables/Question/Question.Debug.Seed.sql

    r81c2e6f r8b6791f  
    99        VALUES
    1010            (1, N'aee193c3-9d36-4ed8-81b2-15eb4ff305f1', N'Question 1', 'Question 1 text', 1, GETUTCDATE(), NULL, 0,
    11              GETUTCDATE()
     11             GETUTCDATE(), 2
    1212            ),
    1313            (2, N'bee193c3-9d36-4ed8-81b2-15eb4ff305f1', N'Question 2', 'Question 2 text', 1, GETUTCDATE(), NULL, 0,
    14              GETUTCDATE()
     14             GETUTCDATE(), 2
    1515            )
    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])
    1717    ) AS S
    1818    ON T.[ID] = S.[ID]
     
    2525                   T.[TeamFk] = S.[TeamFk],
    2626                   T.[Views] = S.[Views],
    27                    T.[LastActiveOn] = S.[LastActiveOn]
     27                   T.[LastActiveOn] = S.[LastActiveOn],
     28                   T.[AnswersCount] = S.[AnswersCount]
    2829    WHEN NOT MATCHED THEN
    2930        INSERT
     
    3738            [TeamFk],
    3839            [Views],
    39             [LastActiveOn]
     40            [LastActiveOn],
     41            [AnswersCount]
    4042        )
    4143        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]);
    4345    SET IDENTITY_INSERT [dbo].[Question] OFF
    4446END
Note: See TracChangeset for help on using the changeset viewer.