Skip to content

Commit

Permalink
#701 Not being able to create a FK for a table created in another dat…
Browse files Browse the repository at this point in the history
…abase schema / test fix
  • Loading branch information
Tapac committed Dec 1, 2019
1 parent 83c651f commit 29a52df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,8 @@ class DDLTests : DatabaseTestsBase() {
@Test
fun createTableWithForeignKeyToAnotherSchema() {
withDb(excludeSettings = listOf(TestDB.SQLITE)) {
exec("CREATE SCHEMA ONE")
exec("CREATE SCHEMA TWO")
exec("CREATE SCHEMA ${"one".inProperCase()}")
exec("CREATE SCHEMA ${"two".inProperCase()}")
SchemaUtils.create(TableFromSchemeOne, TableFromSchemeTwo)
val idFromOne = TableFromSchemeOne.insertAndGetId { }

Expand Down

0 comments on commit 29a52df

Please sign in to comment.