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: fix scripts
Stevenf30599fbd22b
diff --git a/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sql b/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sqlindex 3d3233737..918d44567 100644--- a/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sql+++ b/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sql@@ -11,6 +11,6 @@ UPDATE `resource`SET `storage_type` = 'EXTERNAL', `reference` = `external_link`WHERE `external_link` IS NOT NULL AND `external_link` != '';-ALTER TABLE `resource`- DROP COLUMN `internal_path`,- DROP COLUMN `external_link`;+ALTER TABLE `resource` DROP COLUMN `internal_path`;++ALTER TABLE `resource` DROP COLUMN `external_link`;diff --git a/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sql b/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sqlindex 3d3233737..918d44567 100644--- a/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sql+++ b/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sql@@ -11,6 +11,6 @@ UPDATE `resource`SET `storage_type` = 'EXTERNAL', `reference` = `external_link`WHERE `external_link` IS NOT NULL AND `external_link` != '';-ALTER TABLE `resource`- DROP COLUMN `internal_path`,- DROP COLUMN `external_link`;+ALTER TABLE `resource` DROP COLUMN `internal_path`;++ALTER TABLE `resource` DROP COLUMN `external_link`;diff --git a/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql b/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sqlindex 8f910aedb..daa46de20 100644--- a/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql+++ b/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql@@ -12,6 +12,6 @@ UPDATE resourceSET storage_type = 'EXTERNAL', reference = external_linkWHERE external_link IS NOT NULL AND external_link != '';-ALTER TABLE resource- DROP COLUMN internal_path,- DROP COLUMN external_link;+ALTER TABLE resource DROP COLUMN internal_path;++ALTER TABLE resource DROP COLUMN external_link;