21 lines
595 B
SQL
21 lines
595 B
SQL
CREATE table if not exists objenious_lines (
|
|
id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
|
|
simId BIGINT UNIQUE,
|
|
status TEXT,
|
|
iccid TEXT NOT NULL,
|
|
msisdn TEXT,
|
|
imei TEXT,
|
|
imeiChangeDate TIMESTAMPTZ,
|
|
offerCode TEXT,
|
|
preactivationDate TIMESTAMPTZ, -- No viene con hora
|
|
activationDate TIMESTAMPTZ,
|
|
commercialStatus TEXT,
|
|
commercialStatusDate TIMESTAMPTZ,
|
|
billingStatus TEXT,
|
|
billingStatusChangeDate TIMESTAMPTZ,
|
|
billingActivationDate TIMESTAMPTZ,
|
|
createDate TIMESTAMPTZ,
|
|
raw JSONB,
|
|
hash TEXT
|
|
)
|