From a5cedb45bcd31ca4393625ee0d3adf07219cb396 Mon Sep 17 00:00:00 2001
From: Pedro Cardona <pedropca@stud.ntnu.no>
Date: Fri, 21 Apr 2023 09:33:16 +0200
Subject: [PATCH] Name to attribute expiration_date was fixed

---
 .../v233/SmartMat/entity/product/Product.java          |  2 +-
 src/main/resources/application.properties              |  5 ++++-
 target/classes/application.properties                  | 10 +++++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/main/java/ntnu/idatt2016/v233/SmartMat/entity/product/Product.java b/src/main/java/ntnu/idatt2016/v233/SmartMat/entity/product/Product.java
index 639d7b23..2a2d9d8b 100644
--- a/src/main/java/ntnu/idatt2016/v233/SmartMat/entity/product/Product.java
+++ b/src/main/java/ntnu/idatt2016/v233/SmartMat/entity/product/Product.java
@@ -39,6 +39,6 @@ public class Product{
     @Column(name = "best_before")
     int bestBefore;
 
-    @Column(name = "expirationDate")
+    @Column(name = "expiration_date")
     int expirationDate;
 }
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index bef07f68..f1ec6079 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -28,4 +28,7 @@ spring.jpa.hibernate.ddl-auto = update
 # Run spring boot locally/network-wide
 # Uncomment to run network-wide.
 #server.address=0.0.0.0
-#server.port=8080
\ No newline at end of file
+#server.port=8080
+
+# Kassal.app
+# Authorization: Bearer MM4a9dkytHAMlx2APMALVgjCAWH8zzK4gRx94Pay
\ No newline at end of file
diff --git a/target/classes/application.properties b/target/classes/application.properties
index ba7e37ce..f1ec6079 100644
--- a/target/classes/application.properties
+++ b/target/classes/application.properties
@@ -23,4 +23,12 @@ spring.jpa.hibernate.ddl-auto = update
 # Password: Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC
 # Internal Database URl (from render): postgres://smartmat_user:Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC@dpg-cgv5710dh87i4q0fd1b0-a/smartmat
 # External Database URL: postgres://smartmat_user:Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC@dpg-cgv5710dh87i4q0fd1b0-a.frankfurt-postgres.render.com/smartmat
-# PSQL Command: PGPASSWORD=Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC psql -h dpg-cgv5710dh87i4q0fd1b0-a.frankfurt-postgres.render.com -U smartmat_user smartmat
\ No newline at end of file
+# PSQL Command: PGPASSWORD=Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC psql -h dpg-cgv5710dh87i4q0fd1b0-a.frankfurt-postgres.render.com -U smartmat_user smartmat
+
+# Run spring boot locally/network-wide
+# Uncomment to run network-wide.
+#server.address=0.0.0.0
+#server.port=8080
+
+# Kassal.app
+# Authorization: Bearer MM4a9dkytHAMlx2APMALVgjCAWH8zzK4gRx94Pay
\ No newline at end of file
-- 
GitLab