PKGBUILD/pkg/repository/db/sqlite3/createTableDevices.sql

6 lines
320 B
MySQL
Raw Normal View History

2020-05-21 15:40:24 +00:00
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
);