2020-05-21 15:40:24 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS devices (
|
2020-06-01 20:36:57 +00:00
|
|
|
device_id CHAR(36) PRIMARY KEY,
|
2020-05-21 15:40:24 +00:00
|
|
|
device_name VARCHAR(64) NOT NULL,
|
|
|
|
device_location VARCHAR(64),
|
2020-06-01 20:36:57 +00:00
|
|
|
creation_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
|
|
update_date TIMESTAMP
|
2020-05-21 15:40:24 +00:00
|
|
|
);
|