diff --git a/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/DDLTests.kt b/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/DDLTests.kt index a02c5f795a..b6143e145b 100644 --- a/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/DDLTests.kt +++ b/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/DDLTests.kt @@ -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 @@ -193,7 +194,7 @@ class DDLTests : DatabaseTestsBase() { } @Test fun tableWithMultiPKandAutoIncrement() { - val Foo = object : IdTable() { + val Foo = object : IdTable("FooTable") { val bar = integer("bar").primaryKey() override val id: Column> = long("id").entityId().autoIncrement().primaryKey() }