diff --git a/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java b/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java index e1487ff..4fc3270 100644 --- a/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java +++ b/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java @@ -9,7 +9,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "API_KEY", schema = "public", catalog = "postgres") +@Table(name = "API_KEY", schema = "public") public class ApiKey { private long id; private String apiKey; diff --git a/src/main/java/com/loafle/overflow/module/domain/model/Domain.java b/src/main/java/com/loafle/overflow/module/domain/model/Domain.java index 7186d8a..6bac704 100644 --- a/src/main/java/com/loafle/overflow/module/domain/model/Domain.java +++ b/src/main/java/com/loafle/overflow/module/domain/model/Domain.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "DOMAIN", schema = "public", catalog = "postgres") +@Table(name = "DOMAIN", schema = "public") public class Domain { private long id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/domain/model/DomainMember.java b/src/main/java/com/loafle/overflow/module/domain/model/DomainMember.java index 1254e63..0f3d74f 100644 --- a/src/main/java/com/loafle/overflow/module/domain/model/DomainMember.java +++ b/src/main/java/com/loafle/overflow/module/domain/model/DomainMember.java @@ -9,7 +9,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "DOMAIN_MEMBER", schema = "public", catalog = "postgres") +@Table(name = "DOMAIN_MEMBER", schema = "public") public class DomainMember { private long id; private Timestamp createDate; diff --git a/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java b/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java index 83705fc..263e564 100644 --- a/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java +++ b/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java @@ -9,7 +9,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "EMAIL_AUTH", schema = "public", catalog = "postgres") +@Table(name = "EMAIL_AUTH", schema = "public") public class EmailAuth { private long id; private String emailAuthKey; diff --git a/src/main/java/com/loafle/overflow/module/history/History.java b/src/main/java/com/loafle/overflow/module/history/History.java index f048820..f449457 100644 --- a/src/main/java/com/loafle/overflow/module/history/History.java +++ b/src/main/java/com/loafle/overflow/module/history/History.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "HISTORY", schema = "public", catalog = "postgres") +@Table(name = "HISTORY", schema = "public") public class History { private long id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/module/infra/model/Infra.java b/src/main/java/com/loafle/overflow/module/infra/model/Infra.java index 700fa12..3195de6 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/Infra.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/Infra.java @@ -12,7 +12,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA") -//@Table(name = "INFRA", schema = "public", catalog = "postgres") +@Table(name = "INFRA", schema = "public") @Inheritance(strategy = InheritanceType.JOINED) @DiscriminatorColumn(name = "INFRA_TYPE") public abstract class Infra { diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraHost.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraHost.java index fe6fbeb..fd2eac6 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraHost.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraHost.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA_HOST") -//@Table(name = "INFRA_HOST", schema = "public", catalog = "postgres") +@Table(name = "INFRA_HOST", schema = "public") @DiscriminatorValue("INFRA_HOST") public class InfraHost extends Infra { // private long id; diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java index 3fcd8e4..20cb15e 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java @@ -1,7 +1,5 @@ package com.loafle.overflow.module.infra.model; -import com.loafle.overflow.module.probe.model.Probe; - import javax.persistence.*; import java.util.Date; @@ -9,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA_MACHINE") -//@Table(name = "INFRA_MACHINE", schema = "public", catalog = "postgres") +@Table(name = "INFRA_MACHINE", schema = "public") @DiscriminatorValue("INFRA_MACHINE") public class InfraMachine extends Infra { // private long id; diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraOS.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraOS.java index e416f9a..b79c9c3 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraOS.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraOS.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA_OS") -//@Table(name = "INFRA_OS", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS", schema = "public") @DiscriminatorValue("INFRA_OS") public class InfraOS extends Infra { // private long id; diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraOSApplication.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraOSApplication.java index 865cfcf..37f8504 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraOSApplication.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraOSApplication.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA_OS_APPLICATION") -//@Table(name = "INFRA_OS_APPLICATION", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS_APPLICATION", schema = "public") @DiscriminatorValue("INFRA_OS_APPLICATION") public class InfraOSApplication extends Infra { // private long id; diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraOSDaemon.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraOSDaemon.java index c176633..531411d 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraOSDaemon.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraOSDaemon.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA_OS_DAEMON") -//@Table(name = "INFRA_OS_DAEMON", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS_DAEMON", schema = "public") @DiscriminatorValue("INFRA_OS_DAEMON") public class InfraOSDaemon extends Infra { // private long id; diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraOSPort.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraOSPort.java index 3d4291e..f276549 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraOSPort.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraOSPort.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA_OS_PORT") -//@Table(name = "INFRA_OS_PORT", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS_PORT", schema = "public") @DiscriminatorValue("INFRA_OS_PORT") public class InfraOSPort extends Infra { // private long id; diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraService.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraService.java index eaf689a..e19e7d9 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraService.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraService.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity(name = "INFRA_SERVICE") -//@Table(name = "INFRA_SERVICE", schema = "public", catalog = "postgres") +@Table(name = "INFRA_SERVICE", schema = "public") @DiscriminatorValue("INFRA_SERVICE") public class InfraService extends Infra{ // private long id; diff --git a/src/main/java/com/loafle/overflow/module/member/model/Member.java b/src/main/java/com/loafle/overflow/module/member/model/Member.java index 4d243cc..522bcc2 100644 --- a/src/main/java/com/loafle/overflow/module/member/model/Member.java +++ b/src/main/java/com/loafle/overflow/module/member/model/Member.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "MEMBER", schema = "public", catalog = "postgres") +@Table(name = "MEMBER", schema = "public") public class Member { private long id; private String email; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawler.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawler.java index d3fbc66..573d9a9 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawler.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawler.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_CRAWLER", schema = "public", catalog = "postgres") +@Table(name = "META_CRAWLER", schema = "public") public class MetaCrawler { private short id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawlerInputItem.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawlerInputItem.java index 59a06a0..67a6974 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawlerInputItem.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaCrawlerInputItem.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_CRAWLER_INPUT_ITEM", schema = "public", catalog = "postgres") +@Table(name = "META_CRAWLER_INPUT_ITEM", schema = "public") public class MetaCrawlerInputItem { private int id; private MetaInputType inputType; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraType.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraType.java index 4390989..f0029a6 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraType.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_INFRA_TYPE", schema = "public", catalog = "postgres") +@Table(name = "META_INFRA_TYPE", schema = "public") public class MetaInfraType { private int id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraVendor.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraVendor.java index 564fb73..ce96cda 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraVendor.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaInfraVendor.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_INFRA_VENDOR", schema = "public", catalog = "postgres") +@Table(name = "META_INFRA_VENDOR", schema = "public") public class MetaInfraVendor { private int id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaInputType.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaInputType.java index fa86aeb..8ad2b41 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaInputType.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaInputType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_INPUT_TYPE", schema = "public", catalog = "postgres") +@Table(name = "META_INPUT_TYPE", schema = "public") public class MetaInputType { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaMemberStatus.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaMemberStatus.java index 709833d..1074a1d 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaMemberStatus.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaMemberStatus.java @@ -9,7 +9,7 @@ import javax.persistence.Table; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_MEMBER_STATUS", schema = "public", catalog = "postgres") +@Table(name = "META_MEMBER_STATUS", schema = "public") public class MetaMemberStatus { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaNoAuthProbeStatus.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaNoAuthProbeStatus.java index 2c99e11..60f1639 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaNoAuthProbeStatus.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaNoAuthProbeStatus.java @@ -9,7 +9,7 @@ import javax.persistence.Table; * Created by snoop on 17. 6. 26. */ @Entity -@Table(name = "META_NOAUTH_PROBE_STATUS", schema = "public", catalog = "postgres") +@Table(name = "META_NOAUTH_PROBE_STATUS", schema = "public") public class MetaNoAuthProbeStatus { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaNotification.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaNotification.java index 62a6773..b2276a8 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaNotification.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaNotification.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_NOTIFICATION", schema = "public", catalog = "postgres") +@Table(name = "META_NOTIFICATION", schema = "public") public class MetaNotification { private long id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeArchitecture.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeArchitecture.java index 15ae5cb..e6f8f4f 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeArchitecture.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeArchitecture.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_PROBE_ARCHITECTURE", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_ARCHITECTURE", schema = "public") public class MetaProbeArchitecture { private short id; private String architecture; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeOs.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeOs.java index 3d6f9d9..5d3de03 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeOs.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeOs.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_PROBE_OS", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_OS", schema = "public") public class MetaProbeOs { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbePackage.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbePackage.java index 15828ce..0fa7481 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbePackage.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbePackage.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_PROBE_PACKAGE", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_PACKAGE", schema = "public") public class MetaProbePackage { private long id; private MetaProbeVersion version; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeStatus.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeStatus.java index a6f5572..7bb87f6 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeStatus.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeStatus.java @@ -9,7 +9,7 @@ import javax.persistence.Table; * Created by snoop on 17. 6. 26. */ @Entity -@Table(name = "META_PROBE_STATUS", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_STATUS", schema = "public") public class MetaProbeStatus { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeTaskType.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeTaskType.java index f90f3f0..afdbe47 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeTaskType.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeTaskType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_PROBE_TASK_TYPE", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_TASK_TYPE", schema = "public") public class MetaProbeTaskType { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeVersion.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeVersion.java index 766e62e..0b6bbdc 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeVersion.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaProbeVersion.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_PROBE_VERSION", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_VERSION", schema = "public") public class MetaProbeVersion { private short id; private String version; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItem.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItem.java index 64a7861..a29e09f 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItem.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItem.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_SENSOR_ITEM", schema = "public", catalog = "postgres") +@Table(name = "META_SENSOR_ITEM", schema = "public") public class MetaSensorItem { private int id; private MetaSensorItemType itemType; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItemType.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItemType.java index 574504a..5d905e6 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItemType.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorItemType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_SENSOR_ITEM_TYPE", schema = "public", catalog = "postgres") +@Table(name = "META_SENSOR_ITEM_TYPE", schema = "public") public class MetaSensorItemType { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorStatus.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorStatus.java index 6a2783c..fd0623a 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorStatus.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaSensorStatus.java @@ -9,7 +9,7 @@ import javax.persistence.Table; * Created by snoop on 17. 6. 26. */ @Entity -@Table(name = "META_SENSOR_STATUS", schema = "public", catalog = "postgres") +@Table(name = "META_SENSOR_STATUS", schema = "public") public class MetaSensorStatus { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawler.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawler.java index 3873c38..3c9d8cd 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawler.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawler.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_VENDOR_CRAWLER", schema = "public", catalog = "postgres") +@Table(name = "META_VENDOR_CRAWLER", schema = "public") public class MetaVendorCrawler { private int id; private MetaCrawler crawler; diff --git a/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawlerSensorItem.java b/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawlerSensorItem.java index d66eb56..f8b3908 100644 --- a/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawlerSensorItem.java +++ b/src/main/java/com/loafle/overflow/module/meta/model/MetaVendorCrawlerSensorItem.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "META_VENDOR_CRAWLER_SENSOR_ITEM", schema = "public", catalog = "postgres") +@Table(name = "META_VENDOR_CRAWLER_SENSOR_ITEM", schema = "public") public class MetaVendorCrawlerSensorItem { private long id; private String interval; diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java index cac693c..4d27b7c 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java @@ -12,7 +12,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "NOAUTH_PROBE", schema = "public", catalog = "postgres") +@Table(name = "NOAUTH_PROBE", schema = "public") public class NoAuthProbe { private long id; private String hostName; diff --git a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java index 470cd1b..fc70d18 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java @@ -1,7 +1,6 @@ package com.loafle.overflow.module.probe.model; import com.loafle.overflow.module.domain.model.Domain; -import com.loafle.overflow.module.infra.model.InfraHost; import com.loafle.overflow.module.member.model.Member; import com.loafle.overflow.module.meta.model.MetaProbeStatus; @@ -12,7 +11,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "PROBE", schema = "public", catalog = "postgres") +@Table(name = "PROBE", schema = "public") public class Probe { private long id; diff --git a/src/main/java/com/loafle/overflow/module/probe/model/ProbeHost.java b/src/main/java/com/loafle/overflow/module/probe/model/ProbeHost.java index a9e5777..ecbc688 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/ProbeHost.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/ProbeHost.java @@ -9,7 +9,7 @@ import javax.persistence.*; */ @Entity -@Table(name = "PROBE_INFRAHOST", schema = "public", catalog = "postgres") +@Table(name = "PROBE_INFRAHOST", schema = "public") public class ProbeHost { private long id; diff --git a/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java b/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java index 6f5f69d..754b366 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "PROBE_TASK", schema = "public", catalog = "postgres") +@Table(name = "PROBE_TASK", schema = "public") public class ProbeTask { private long id; private MetaProbeTaskType taskType; diff --git a/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java b/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java index 65903d8..176a9f8 100644 --- a/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java +++ b/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java @@ -13,7 +13,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "SENSOR", schema = "public", catalog = "postgres") +@Table(name = "SENSOR", schema = "public") public class Sensor { private long id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java b/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java index 843d2c4..ecdaab5 100644 --- a/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java +++ b/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java @@ -11,7 +11,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "SENSOR_ITEM", schema = "public", catalog = "postgres") +@Table(name = "SENSOR_ITEM", schema = "public") public class SensorItem { private long id; private Sensor sensor; diff --git a/src/main/java/com/loafle/overflow/module/target/model/Target.java b/src/main/java/com/loafle/overflow/module/target/model/Target.java index ec2f5c5..1dde87c 100644 --- a/src/main/java/com/loafle/overflow/module/target/model/Target.java +++ b/src/main/java/com/loafle/overflow/module/target/model/Target.java @@ -1,10 +1,5 @@ package com.loafle.overflow.module.target.model; -import com.loafle.overflow.module.infra.model.Infra; -import com.loafle.overflow.module.probe.model.Probe; -import org.hibernate.annotations.OnDelete; -import org.hibernate.annotations.OnDeleteAction; - import javax.persistence.*; import java.util.Date; @@ -12,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TARGET", schema = "public", catalog = "postgres") +@Table(name = "TARGET", schema = "public") public class Target { private long id; diff --git a/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java b/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java index 3dcb466..0255ffa 100644 --- a/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java +++ b/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "UI_WEBSOCKET", schema = "public", catalog = "postgres") +@Table(name = "UI_WEBSOCKET", schema = "public") public class UiWebsocket { private long id; private Date createDate;