Fix DB relation names to use plurals

This commit is contained in:
Tamas Vajk
2021-09-23 11:29:05 +02:00
committed by Ian Lynagh
parent bf4fb13326
commit 5aac46f20f
4 changed files with 5 additions and 5 deletions

View File

@@ -1044,7 +1044,7 @@ ktCommentSectionSubjectNames(
)
#keyset[id, owner]
ktCommentOwner(
ktCommentOwners(
int id: @ktcomment ref,
int owner: @top ref
)
@@ -1055,7 +1055,7 @@ ktCommentOwner(
@ktloopstmt = @whilestmt
| @dostmt;
ktBreakContinueTarget(
ktBreakContinueTargets(
unique int id: @breakcontinuestmt ref,
int target: @ktloopstmt ref
)

View File

@@ -900,7 +900,7 @@ class KtLoopStmt extends Stmt, @ktloopstmt {
abstract class KtBreakContinueStmt extends Stmt, @breakcontinuestmt {
KtLoopStmt loop;
KtBreakContinueStmt() { ktBreakContinueTarget(this, loop) }
KtBreakContinueStmt() { ktBreakContinueTargets(this, loop) }
/** Gets the target loop statement of this `break`. */
KtLoopStmt getLoopStmt() { result = loop }