forked from JavaOPs/topjava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3_09_add_postgresql.patch
More file actions
45 lines (43 loc) · 1.64 KB
/
3_09_add_postgresql.patch
File metadata and controls
45 lines (43 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Index: src/main/resources/db/postgres.properties
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/main/resources/db/postgres.properties (date 1531053474390)
+++ src/main/resources/db/postgres.properties (date 1531053474390)
@@ -0,0 +1,7 @@
+#database.url=jdbc:postgresql://ec2-54-247-74-197.eu-west-1.compute.amazonaws.com:5432/de4fjsqhdvl7ld?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory
+#database.username=anbxkjtzukqacj
+#database.password=da1f25b2a38784fb0d46858e5b8fc168e08c9e1e9c72faea5bbac9c0e1f9c24f
+
+database.url=jdbc:postgresql://localhost:5432/topjava
+database.username=user
+database.password=password
Index: pom.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- pom.xml (date 1531053254000)
+++ pom.xml (date 1531053521184)
@@ -22,6 +22,8 @@
<logback.version>1.2.3</logback.version>
<slf4j.version>1.7.25</slf4j.version>
+ <!--DB-->
+ <postgresql.version>42.2.2</postgresql.version>
<!-- Tests -->
<junit.version>4.12</junit.version>
</properties>
@@ -72,6 +74,13 @@
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
+
+ <!--DataBase-->
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>${postgresql.version}</version>
+ </dependency>
<!--Web-->
<dependency>