-- ----------------------------
-- Table structure for InformationLog
-- ----------------------------
CREATE SEQUENCE "mobile"."InformationLog_Seq";
DROP TABLE IF EXISTS "mobile"."InformationLog";
CREATE TABLE "mobile"."InformationLog" (
  "InformationLogId" int4 NOT NULL DEFAULT nextval('"mobile"."InformationLog_Seq"'::regclass),
  "Uuid" text COLLATE "pg_catalog"."default",
  "ActionTypeId" int4,
  "SupportId" int4,
  "Message" text COLLATE "pg_catalog"."default",
  "Date" timestamp(0) DEFAULT now(),
  "SupportIdName" text COLLATE "pg_catalog"."default"
)
;

-- ----------------------------
-- Primary Key structure for table InformationLog
-- ----------------------------
ALTER TABLE "mobile"."InformationLog" ADD CONSTRAINT "InformationLog_pkey" PRIMARY KEY ("InformationLogId");

-- ----------------------------
-- Foreign Keys structure for table InformationLog
-- ----------------------------
ALTER TABLE "mobile"."InformationLog" ADD CONSTRAINT "FK_ActionTypeId" FOREIGN KEY ("ActionTypeId") REFERENCES "mobile"."ActionType" ("ActionTypeId") ON DELETE CASCADE ON UPDATE CASCADE;
