Skip to content
Snippets Groups Projects
Commit e4612f65 authored by Joshua Gill's avatar Joshua Gill
Browse files

Change entities to use lower case table names

parent e549b07f
No related branches found
No related tags found
No related merge requests found
Showing
with 13 additions and 13 deletions
......@@ -14,7 +14,7 @@ import javax.persistence.*;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Admin_Types")
@Table(name = "admin_types")
public class AdminTypes {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -13,7 +13,7 @@ import javax.persistence.*;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Categories")
@Table(name = "categories")
public class Categories {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -15,7 +15,7 @@ import java.util.Set;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Events")
@Table(name = "events")
public class Events {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -16,7 +16,7 @@ import javax.persistence.*;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Logs")
@Table(name = "logs")
public class Logs {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -18,7 +18,7 @@ import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Rewards")
@Table(name = "rewards")
public class Rewards {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -24,7 +24,7 @@ import java.util.Set;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="Shops")
@Table(name="shops")
public class Shops {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
......
......@@ -13,7 +13,7 @@ import java.io.Serializable;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Socials")
@Table(name = "socials")
public class Socials{
@Id
......
......@@ -19,7 +19,7 @@ import java.util.Set;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Stamp_Boards")
@Table(name = "stamp_ boards")
public class StampBoards {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -17,7 +17,7 @@ import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Tags")
@Table(name = "tags")
public class Tags {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -16,7 +16,7 @@ import javax.persistence.Table;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Two_Factor_Methods")
@Table(name = "two_factor_methods")
public class TwoFactorMethods {
@Id
private long twoFactorMethodId;
......
......@@ -17,7 +17,7 @@ import javax.persistence.*;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "User_Permissions")
@Table(name = "user_permissions")
public class UserPermissions {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -16,7 +16,7 @@ import javax.persistence.*;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "User_Stamp_Boards")
@Table(name = "user_stamp_boards")
public class UserStampBoards {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
......
......@@ -21,7 +21,7 @@ import java.util.Set;
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "Users")
@Table(name = "users")
public class Users {
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment