fix: remove stats copying
This commit is contained in:
parent
60b55541d6
commit
1fd151e8c2
@ -86,10 +86,10 @@ FROM quiz WHERE quiz.id=$1 AND quiz.accountid=$2
|
||||
-- name: CopyQuiz :one
|
||||
INSERT INTO quiz(
|
||||
accountid, archived,fingerprinting,repeatable,note_prevented,mail_notifications,unique_answers,name,description,config,
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count,answers_count,average_time_passing, super, group_id
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count, super, group_id
|
||||
)
|
||||
SELECT accountid, archived,fingerprinting,repeatable,note_prevented,mail_notifications,unique_answers,name,description,config,
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count,answers_count,average_time_passing, super, group_id
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count, super, group_id
|
||||
FROM quiz WHERE quiz.id=$1 AND quiz.accountId=$2
|
||||
RETURNING id, qid,created_at, updated_at;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.26.0
|
||||
// sqlc v1.25.0
|
||||
|
||||
package sqlcgen
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.26.0
|
||||
// sqlc v1.25.0
|
||||
|
||||
package sqlcgen
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.26.0
|
||||
// sqlc v1.25.0
|
||||
// source: queries.sql
|
||||
|
||||
package sqlcgen
|
||||
@ -239,10 +239,10 @@ func (q *Queries) CopyQuestionQuizID(ctx context.Context, arg CopyQuestionQuizID
|
||||
const copyQuiz = `-- name: CopyQuiz :one
|
||||
INSERT INTO quiz(
|
||||
accountid, archived,fingerprinting,repeatable,note_prevented,mail_notifications,unique_answers,name,description,config,
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count,answers_count,average_time_passing, super, group_id
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count, super, group_id
|
||||
)
|
||||
SELECT accountid, archived,fingerprinting,repeatable,note_prevented,mail_notifications,unique_answers,name,description,config,
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count,answers_count,average_time_passing, super, group_id
|
||||
status,limit_answers,due_to,time_of_passing,pausable,version,version_comment,parent_ids,questions_count, super, group_id
|
||||
FROM quiz WHERE quiz.id=$1 AND quiz.accountId=$2
|
||||
RETURNING id, qid,created_at, updated_at
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user