Merge branch 'migration-vanilia' of https://github.com/dikstub-rssa/simrs-be into feat/sync-infra

This commit is contained in:
vanilia
2025-11-13 10:59:10 +07:00
4 changed files with 48 additions and 5 deletions
@@ -0,0 +1,36 @@
-- Create "InstallationLink" table
CREATE TABLE "public"."InstallationLink" (
"Id" bigserial NOT NULL,
"CreatedAt" timestamptz NULL,
"UpdatedAt" timestamptz NULL,
"DeletedAt" timestamptz NULL,
"Simx_Id" bigint NULL,
"Simgos_Id" bigint NULL,
PRIMARY KEY ("Id"),
CONSTRAINT "uni_InstallationLink_Simgos_Id" UNIQUE ("Simgos_Id"),
CONSTRAINT "uni_InstallationLink_Simx_Id" UNIQUE ("Simx_Id")
);
-- Create "InstallationSimgosLog" table
CREATE TABLE "public"."InstallationSimgosLog" (
"Id" bigserial NOT NULL,
"CreatedAt" timestamptz NULL,
"UpdatedAt" timestamptz NULL,
"DeletedAt" timestamptz NULL,
"Value" text NULL,
"Date" timestamptz NULL,
"Status" text NULL,
"ErrMessage" text NULL,
PRIMARY KEY ("Id")
);
-- Create "InstallationSimxLog" table
CREATE TABLE "public"."InstallationSimxLog" (
"Id" bigserial NOT NULL,
"CreatedAt" timestamptz NULL,
"UpdatedAt" timestamptz NULL,
"DeletedAt" timestamptz NULL,
"Value" text NULL,
"Date" timestamptz NULL,
"Status" text NULL,
"ErrMessage" text NULL,
PRIMARY KEY ("Id")
);
@@ -0,0 +1,2 @@
h1:OaRZyFJMii/8wQ0XLWEpF9MIL8IXblx3IYvB7LN2XQ4=
20251113035508.sql h1:p/FKefphuiBjEND87ChQLS/lcZcnvn0aT5tRV43Dn5o=