CREATE TABLE resource_editor_settings (
  resource_kind VARCHAR(32) NOT NULL,
  resource_slug VARCHAR(512) NOT NULL,
  authorship_mode VARCHAR(16) NOT NULL DEFAULT 'simple',
  colors_enabled BOOLEAN NOT NULL DEFAULT TRUE,
  updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (resource_kind, resource_slug)
);
