message: Add deployment table
diff: @@ -90,6 +90,16 @@ CREATE TABLE IF NOT EXISTS environment_storage (
  UNIQUE KEY `environment_persistent_storage_claim_updated` (`environment`,`persistent_storage_claim`, `updated`)
  );
  +CREATE TABLE IF NOT EXISTS deployment (
  + id int NOT NULL auto_increment PRIMARY KEY,
  + name varchar(100) NOT NULL,
  + status ENUM('new', 'pending', 'running', 'cancelled', 'error', 'failed', 'complete') NOT NULL,
  + created timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  + started timestamp NULL,
  + completed timestamp NULL,
  + environment int NOT NULL REFERENCES environment (id)
  +);
  +
  -- Junction Tables
  CREATE TABLE IF NOT EXISTS project_notification (
  