text: # Journal table
  
  # --- !Ups
  
  CREATE TABLE IF NOT EXISTS public.journal (
    ordering BIGSERIAL,
    persistence_id VARCHAR(255) NOT NULL,
    sequence_number BIGINT NOT NULL,
    deleted BOOLEAN DEFAULT FALSE,
    tags VARCHAR(255) DEFAULT NULL,
    message BYTEA NOT NULL,
    PRIMARY KEY(persistence_id, sequence_number)
  );
  
  # --- !Downs
  
  DROP TABLE IF EXISTS public.journal;
  