Deployed Version 1
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
<artifactId>mysql-connector-j</artifactId>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -76,7 +76,7 @@ public class Event {
|
||||
@Column(name = "is_public_event")
|
||||
private Boolean isPublicEvent = false;
|
||||
|
||||
@Column(columnDefinition = "MEDIUMTEXT")
|
||||
@Column(columnDefinition = "TEXT")
|
||||
private String image;
|
||||
|
||||
@Column(name = "targeted_batch")
|
||||
|
||||
@@ -2,15 +2,15 @@ spring.application.name=ems-backend
|
||||
server.port=8081
|
||||
|
||||
# Database Configuration
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/rit_ems?createDatabaseIfNotExist=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=Abiram@07
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5432/rit_ems
|
||||
spring.datasource.username=postgres
|
||||
spring.datasource.password=RITHosting123
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
|
||||
# JPA/Hibernate Config
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
||||
|
||||
# Max upload sizes for files/images (if any)
|
||||
spring.servlet.multipart.max-file-size=10MB
|
||||
|
||||
Reference in New Issue
Block a user