This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/kotlin/ExposedTest.kt | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
diff --git a/src/main/kotlin/ExposedTest.kt b/src/main/kotlin/ExposedTest.kt | |
--- a/src/main/kotlin/ExposedTest.kt (revision f98b59de55a6b70d25ce74a3ca2d6d07bcf87d66) | |
+++ b/src/main/kotlin/ExposedTest.kt (revision a9b34936c5070c4a2d7ce0949443e0a6097d7e2a) | |
@@ -21,17 +21,21 @@ | |
val url = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
diff --git a/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt b/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt | |
--- a/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt (revision 3ad3164544e9c2b5cf4b6c53bf01c1b5fb005071) | |
+++ b/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt (date 1620859726351) | |
@@ -92,11 +92,36 @@ | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/ResultRow.kt | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/ResultRow.kt (revision 102977f24751ad482b317db90da026d7a9e17fb8) | |
+++ exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/ResultRow.kt (date 1588795290614) | |
@@ -26,7 +26,7 @@ | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/resources/application.conf | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- src/main/resources/application.conf (revision 0fa7ca32ce85a7888ff6df03cb01ae080bc4b74e) | |
+++ src/main/resources/application.conf (date 1551942564345) | |
@@ -1,7 +1,7 @@ | |
ktor { | |
deployment { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jetbrains.exposed.spring | |
import org.jetbrains.exposed.dao.EntityID | |
import org.jetbrains.exposed.dao.UUIDEntity | |
import org.jetbrains.exposed.dao.UUIDEntityClass | |
import org.jetbrains.exposed.dao.UUIDTable | |
import org.jetbrains.exposed.sql.SchemaUtils | |
import org.jetbrains.exposed.sql.transactions.transaction | |
import org.springframework.boot.autoconfigure.SpringBootApplication | |
import org.springframework.boot.runApplication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
fun testDefaultExpressions02() { | |
val foo = object : IntIdTable("foo") { | |
val name = text("name") | |
val defaultDateTime = datetime("defaultDateTime").defaultExpression(CurrentDateTime()) | |
} | |
val nonDefaultDate = DateTime.parse("2000-01-01") | |
withTables(foo) { |