text: PRAGMA foreign_keys = ON;
  
  create table cluster (
      ID      integer primary key asc,
      name    text not null
  );
  
  create table configuration_profile (
      ID            integer primary key asc,
      configuration varchar not null,
      changed_at    datetime,
      changed_by    varchar,
      description   varchar
  );
  
  create table operator_configuration (
      ID            integer primary key asc,
      cluster       integer not null,
      configuration integer not null,
      changed_at    datetime,
      changed_by    varchar,
      active        integer,
      reason        varchar,
      CONSTRAINT fk_cluster
          foreign key(cluster)
          references cluster(ID)
          on delete cascade
      CONSTRAINT fk_configuration
          foreign key (configuration)
          references configuration_profile(ID)
          on delete cascade
  );
  
  create table trigger_type (
      ID            integer primary key asc,
      type          varchar not null,
      description   varchar
  );
  
  create table trigger (
      ID            integer primary key asc,
      type          integer not null,
      cluster       integer not null,
      reason        varchar,
      link          varchar,
      triggered_at  datetime,
      triggered_by  varchar,
      acked_at      datetime,
      parameters    varchar,
      active        integer,
      CONSTRAINT fk_type
          foreign key (type)
          references trigger_type(ID)
      CONSTRAINT fk_cluster
          foreign key(cluster)
          references cluster(ID)
  );
  