Skip to content

Commit

Permalink
#284 Postgres, DSL Approach: primary key with custom names beside `id…
Browse files Browse the repository at this point in the history
…` breaks (reproducible test included) / Test case added
  • Loading branch information
Tapac committed May 4, 2018
1 parent 3f698ae commit b143d49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import kotlin.test.*

object DMLTestsData {
object Cities : Table() {
val id = integer("id").autoIncrement("cities_seq").primaryKey() // PKColumn<Int>
val id = integer("cityId").autoIncrement("cities_seq").primaryKey() // PKColumn<Int>
val name = varchar("name", 50) // Column<String>
}

Expand Down

0 comments on commit b143d49

Please sign in to comment.