aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-27 19:43:42 +0300
committerGravatar Vitaly Takmazov2023-01-27 20:33:17 +0300
commitc2fe259c1dc558945ea8beb82cdfe5891791564c (patch)
tree148273d483428d0d9caf03e83267cbcc7cbd653d /src/main/java/com/juick/service
parent2db415ce42fb96059b6d7fce4cf4ce078a62680e (diff)
db: initial SQL Server schema
* only schema is worked
Diffstat (limited to 'src/main/java/com/juick/service')
-rw-r--r--src/main/java/com/juick/service/NullSearchService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/NullSearchService.java b/src/main/java/com/juick/service/NullSearchService.java
index 2fb51b07..d12beb96 100644
--- a/src/main/java/com/juick/service/NullSearchService.java
+++ b/src/main/java/com/juick/service/NullSearchService.java
@@ -26,7 +26,7 @@ import java.util.Collections;
import java.util.List;
@Repository
-@ConditionalOnExpression("('${spring.sql.init.platform}' == 'h2') or ('${spring.sql.init.platform}' == 'sqlite')")
+@ConditionalOnExpression("('${spring.sql.init.platform}' == 'h2') or ('${spring.sql.init.platform}' == 'sqlite') or ('${spring.sql.init.platform}' == 'sqlserver')")
public class NullSearchService implements SearchService {
@Override
public void setMaxResult(int maxResult) {