Skip to content

Commit

Permalink
Pr/detect auto inc change (JetBrains#1252)
Browse files Browse the repository at this point in the history
Default value for Column.descriptionDdl()
  • Loading branch information
Tapac authored and SchweinchenFuntik committed Oct 23, 2021
1 parent fe711be commit db1baee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Column<T>(
internal fun isOneColumnPK(): Boolean = table.primaryKey?.columns?.singleOrNull() == this

/** Returns the SQL representation of this column. */
fun descriptionDdl(modify: Boolean): String = buildString {
fun descriptionDdl(modify: Boolean = false): String = buildString {
val tr = TransactionManager.current()
append(tr.identity(this@Column))
append(" ")
Expand Down

0 comments on commit db1baee

Please sign in to comment.