This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airavata-data-catalog.git


The following commit(s) were added to refs/heads/main by this push:
     new dd0e770  Fixing issue with 'user' being reserved word by changing 
table name
dd0e770 is described below

commit dd0e7707181e94dc6cc462236e69c7c3205c8a55
Author: Marcus Christie <[email protected]>
AuthorDate: Wed Feb 8 17:59:56 2023 -0500

    Fixing issue with 'user' being reserved word by changing table name
---
 .../java/org/apache/airavata/datacatalog/api/model/UserEntity.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/model/UserEntity.java
 
b/data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/model/UserEntity.java
index 99a642a..cdc24f1 100644
--- 
a/data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/model/UserEntity.java
+++ 
b/data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/model/UserEntity.java
@@ -10,7 +10,8 @@ import jakarta.persistence.SequenceGenerator;
 import jakarta.persistence.Table;
 
 @Entity
-@Table(name = "user")
+// 'user' is a reserved word, so naming this table 'user_table'
+@Table(name = "user_table")
 public class UserEntity {
 
     @Id

Reply via email to