2020-06-01 20:36:57 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS devices (
|
|
|
|
device_id CHAR(36) CONSTRAINT pk_devices PRIMARY KEY,
|
|
|
|
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,
|
|
|
|
update_date TIMESTAMP WITH TIME ZONE
|
2020-06-01 20:36:57 +00:00
|
|
|
);
|