at.uuid as uuid,
at.project_uuid as projectUuid,
at.user_uuid as userUuid,
at.transition as transition,
at.transition_comment as "comment",
at.line as line,
at.message as message,
at.line_hash as lineHash,
at.rule_key as ruleKey,
at.file_path as filePath,
at.created_at as createdAt
INSERT INTO anticipated_transitions (uuid, project_uuid, user_uuid, transition,
transition_comment, line, message, line_hash, rule_key, file_path, created_at)
VALUES (#{uuid,jdbcType=VARCHAR}, #{projectUuid,jdbcType=VARCHAR}, #{userUuid,jdbcType=VARCHAR},
#{transition,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR},
#{line,jdbcType=INTEGER}, #{message,jdbcType=VARCHAR}, #{lineHash,jdbcType=VARCHAR}, #{ruleKey,jdbcType=VARCHAR},
#{filePath,jdbcType=VARCHAR}, #{createdAt,jdbcType=BIGINT})
delete from anticipated_transitions where uuid=#{uuid}
delete from anticipated_transitions where project_uuid=#{projectUuid,jdbcType=VARCHAR} and user_uuid=#{userUuid,jdbcType=VARCHAR}