|
|
@@ -1 +1,15 @@
|
|
|
spring.application.name=database
|
|
|
+# Database connection URL
|
|
|
+# Change 'localhost' to your host and 'postgres' to your database name if they differ
|
|
|
+spring.datasource.url=jdbc:postgresql://localhost:5432/online-game-shop-database
|
|
|
+spring.datasource.username=postgres
|
|
|
+spring.datasource.password=postgres
|
|
|
+
|
|
|
+# Driver class name
|
|
|
+spring.datasource.driver-class-name=org.postgresql.Driver
|
|
|
+
|
|
|
+# JPA / Hibernate properties
|
|
|
+# 'update' automatically creates or modifies tables based on your Java entities
|
|
|
+spring.jpa.hibernate.ddl-auto=update
|
|
|
+spring.jpa.show-sql=true
|
|
|
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|