CREATE TABLE IF NOT EXISTS environment_checks (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(100) NOT NULL UNIQUE,
  created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);

INSERT INTO environment_checks (name)
VALUES ('containers-online')
ON DUPLICATE KEY UPDATE name = VALUES(name);