dashboard: improve general design (mostly events related)
This commit is contained in:
parent
83ad6340b2
commit
aa3750bb68
11 changed files with 70 additions and 44 deletions
|
|
@ -60,7 +60,7 @@ func DBCreate() error {
|
|||
CREATE TABLE IF NOT EXISTS events(
|
||||
id_event INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
txt VARCHAR(255) NOT NULL,
|
||||
kind ENUM('alert-primary', 'alert-secondary', 'alert-success', 'alert-danger', 'alert-warning', 'alert-info', 'alert-light', 'alert-dark') NOT NULL,
|
||||
kind ENUM('primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark') NOT NULL,
|
||||
time TIMESTAMP NOT NULL
|
||||
) DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
|
||||
`); err != nil {
|
||||
|
|
|
|||
Reference in a new issue