6 lines
320 B
MySQL
6 lines
320 B
MySQL
|
CREATE TABLE IF NOT EXISTS devices (
|
||
|
device_id CHAR(37) PRIMARY KEY,
|
||
|
device_name VARCHAR(64) NOT NULL,
|
||
|
device_location VARCHAR(64),
|
||
|
creation_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||
|
);
|