Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: allow storing resource references >256 chars long in mysql (#4408)
Chris Dzombakd25f3553921b
diff --git a/store/migration/mysql/0.25/00__s3_reference_length.sql b/store/migration/mysql/0.25/00__s3_reference_length.sqlnew file mode 100644index 000000000..397f00005--- /dev/null+++ b/store/migration/mysql/0.25/00__s3_reference_length.sql@@ -0,0 +1,3 @@+-- https://github.com/usememos/memos/issues/4322++ALTER TABLE `resource` MODIFY `reference` TEXT NOT NULL DEFAULT ('');diff --git a/store/migration/mysql/LATEST.sql b/store/migration/mysql/LATEST.sqlindex 989b73a0f..dbd76612b 100644--- a/store/migration/mysql/LATEST.sql+++ b/store/migration/mysql/LATEST.sql@@ -77,7 +77,7 @@ CREATE TABLE `resource` (`size` INT NOT NULL DEFAULT '0',`memo_id` INT DEFAULT NULL,`storage_type` VARCHAR(256) NOT NULL DEFAULT '',- `reference` VARCHAR(256) NOT NULL DEFAULT '',+ `reference` TEXT NOT NULL DEFAULT (''),`payload` TEXT NOT NULL);