Fix incorrect type for tenant id in pgsql

merge-requests/64/head
Charitha Goonetilleke 6 years ago
parent 255002720b
commit 6e365333ab

@ -44,7 +44,7 @@ CREATE TABLE IF NOT EXISTS DM_DEVICE_PROPERTIES (
DEVICE_IDENTIFICATION VARCHAR(300) NOT NULL,
PROPERTY_NAME VARCHAR(100) DEFAULT 0,
PROPERTY_VALUE VARCHAR(100) DEFAULT NULL,
TENANT_ID VARCHAR(100),
TENANT_ID INTEGER DEFAULT 0,
PRIMARY KEY (DEVICE_TYPE_NAME, DEVICE_IDENTIFICATION, PROPERTY_NAME, TENANT_ID)
);

Loading…
Cancel
Save