Skip to content

Commit

Permalink
Prevent "ORA-00972: identifier is too long" in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Jul 22, 2018
1 parent e91f4c8 commit 0dc80ae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import org.joda.time.DateTime
import org.junit.Assert.assertTrue
import org.junit.Test
import org.postgresql.util.PGobject
import java.lang.Exception
import java.sql.SQLException
import java.util.*
import javax.sql.rowset.serial.SerialBlob
Expand Down Expand Up @@ -193,7 +194,7 @@ class DDLTests : DatabaseTestsBase() {
}

@Test fun tableWithMultiPKandAutoIncrement() {
val Foo = object : IdTable<Long>() {
val Foo = object : IdTable<Long>("FooTable") {
val bar = integer("bar").primaryKey()
override val id: Column<EntityID<Long>> = long("id").entityId().autoIncrement().primaryKey()
}
Expand Down

0 comments on commit 0dc80ae

Please sign in to comment.