2021-01-30 14:44:21 +00:00
|
|
|
CREATE TABLE devices (
|
|
|
|
device_id CHAR(36) NOT NULL,
|
2020-06-01 20:36:57 +00:00
|
|
|
device_name VARCHAR(64) NOT NULL,
|
|
|
|
device_location VARCHAR(64),
|
2020-10-07 21:38:27 +00:00
|
|
|
creation_date TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
2021-01-30 14:44:21 +00:00
|
|
|
update_date TIMESTAMP WITH TIME ZONE,
|
|
|
|
CONSTRAINT pk_devices PRIMARY KEY(device_id)
|
2020-06-01 20:36:57 +00:00
|
|
|
);
|