From 3d89f10d66ff460f163443e32d2ad5e8db2ace49 Mon Sep 17 00:00:00 2001 From: Alexandre R d'anzi Date: Wed, 8 Jun 2022 20:05:52 +0200 Subject: fix nextcloud 24 --- appinfo/info.xml | 4 ++-- lib/Migration/Version002401Date20210711195249.php | 4 ++-- to_stable_branch.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index f6345dc..05777ca 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -19,7 +19,7 @@ Mac, with sync capabilities - Statistics : words/sentences/characters - Sync with ownCloud/NextCloud - Online editor as a ownCloud/NextCloud App]]> - 0.24.4 + 0.24.5 agpl Phie Carnet @@ -33,7 +33,7 @@ Mac, with sync capabilities - + diff --git a/lib/Migration/Version002401Date20210711195249.php b/lib/Migration/Version002401Date20210711195249.php index 9e8c7eb..47f446e 100644 --- a/lib/Migration/Version002401Date20210711195249.php +++ b/lib/Migration/Version002401Date20210711195249.php @@ -38,14 +38,14 @@ class Version002401Date20210711195249 extends SimpleMigrationStep { 'notnull' => true, 'length' => 191, ]); - $table->addColumn('metadata', 'string', [ + $table->addColumn('metadata', 'text', [ 'notnull' => false, 'length' => 10000000, ]); $table->addColumn('last_modification_file', 'integer', [ 'notnull' => false, ]); - $table->addColumn('low_case_text', 'string', [ + $table->addColumn('low_case_text', 'text', [ 'notnull' => false, 'length' => 10000000, ]); diff --git a/to_stable_branch.sh b/to_stable_branch.sh index d685d73..ff5a1ba 100644 --- a/to_stable_branch.sh +++ b/to_stable_branch.sh @@ -4,14 +4,14 @@ version=$(sed -n -e 's/.*\(.*\)<\/version>.*/\1/p' appinfo/info.xml) git branch -D stable git push origin --delete stable git push framagit --delete stable -git checkout master +git checkout main git checkout -b stable git push origin stable git push framagit stable git checkout -b stable-$version git push origin stable-$version git push framagit stable-$version -git checkout master +git checkout main cd templates/CarnetElectron git checkout -b nextcloud-stable-$version git push origin nextcloud-stable-$version -- cgit v1.2.3