CREATE TABLE IF NOT EXISTS db_versions (
  id              BIGINT BIGINT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
  version         TEXT, -- version semantica x.x.x
  notes           TEXT,
  creation_date   TIMESTAMP NOT NULL DEFAULT (now() at time zone 'utc'),
  stable          BOOLEAN DEFAULT FALSE -- Si la version ha sido testada y se puede desplegar
);

INSERT INTO db_versions (
  version,
  notes
)
VALUES (
  '0.1.0',
  'Versión base'
);
