Files
storage/MIGRATE.md
RW ab88d43900
Some checks failed
Release Drafter (All) / changes (push) Has been cancelled
Sync docs / sync-docs (push) Has been cancelled
Release Drafter (All) / release-drafter (push) Has been cancelled
Add migrate.md
2025-03-07 08:09:44 +01:00

693 B

This document contains instructions for migrating to various storage versions.

0.1 -> 0.2

v0.2 fixes a bug in MYSQL, Postgres and Arangodb in which inserting non-UTF8 characters would trigger a panic due to the values being saved in a TEXT column instead of a BYTEA/BLOB column. Migration instructions (note you may need to adjust the table names if you have supplied a custom config to the storage):

Postgres

ALTER TABLE fiber_storage
ALTER COLUMN v TYPE BYTEA USING v::bytea;

MYSQL

ALTER TABLE fiber_storage MODIFY COLUMN v BLOB;

Arangodb

No migration other then updating the library is necessary.