Adding support for data of entry

This commit is contained in:
2023-12-06 11:20:49 +01:00
parent 5aab318e79
commit fcd3bfa0bd
4 changed files with 36 additions and 13 deletions

View File

@@ -15,6 +15,7 @@ CREATE TABLE IF NOT EXISTS computers (
brand VARCHAR(255) NOT NULL,
model VARCHAR(255) NOT NULL,
status VARCHAR(255) NOT NULL,
dateOfEntry DATE NOT NULL DEFAULT CURRENT_DATE,
state VARCHAR(255) NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB;