From 4d9f2af6e2a2f967c225e4f677ee06abb25918bd Mon Sep 17 00:00:00 2001 From: plplmax <50287455+plplmax@users.noreply.github.com> Date: Thu, 9 May 2024 12:59:50 +0300 Subject: [PATCH] docs: fix typos in foreignKey documentation --- .../src/main/kotlin/org/jetbrains/exposed/sql/Table.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/Table.kt b/exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/Table.kt index a9a9701278..444c3c23c3 100644 --- a/exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/Table.kt +++ b/exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/Table.kt @@ -1245,7 +1245,7 @@ open class Table(name: String = "") : ColumnSet(), DdlAware { * Their order should match the order of columns in the referenced parent table's primary key. * @param target Primary key of the referenced parent table. * @param onUpdate [ReferenceOption] when performing update operations. - * @param onUpdate [ReferenceOption] when performing delete operations. + * @param onDelete [ReferenceOption] when performing delete operations. * @param name Custom foreign key constraint name. * @sample org.jetbrains.exposed.sql.tests.shared.ddl.CreateMissingTablesAndColumnsTests.CompositeForeignKeyTable */ @@ -1272,7 +1272,7 @@ open class Table(name: String = "") : ColumnSet(), DdlAware { * All referencing columns must belong to this table. * All referenced columns must belong to the same table. * @param onUpdate [ReferenceOption] when performing update operations. - * @param onUpdate [ReferenceOption] when performing delete operations. + * @param onDelete [ReferenceOption] when performing delete operations. * @param name Custom foreign key constraint name. * @sample org.jetbrains.exposed.sql.tests.shared.DDLTests.testCompositeFKReferencingUniqueIndex */