aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version28000Date20230906104802.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-20 13:53:06 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-10-20 13:53:06 +0200
commit73da7f20d32cdbb3e14dbeae6cc43a8573f4ebf9 (patch)
treed92250b8fa6afeee68128d7d7216ba10d9047d62 /core/Migrations/Version28000Date20230906104802.php
parentbc85acf7d0f7b66211a011e9a192a5e73ddf27de (diff)
downloadnextcloud-server-73da7f20d32cdbb3e14dbeae6cc43a8573f4ebf9.tar.gz
nextcloud-server-73da7f20d32cdbb3e14dbeae6cc43a8573f4ebf9.zip
fix(Text2Image): Add number_of_images to migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Migrations/Version28000Date20230906104802.php')
-rw-r--r--core/Migrations/Version28000Date20230906104802.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Migrations/Version28000Date20230906104802.php b/core/Migrations/Version28000Date20230906104802.php
index 7134899c82e..5a510639229 100644
--- a/core/Migrations/Version28000Date20230906104802.php
+++ b/core/Migrations/Version28000Date20230906104802.php
@@ -61,6 +61,10 @@ class Version28000Date20230906104802 extends SimpleMigrationStep {
'length' => 6,
'default' => 0,
]);
+ $table->addColumn('number_of_images', Types::INTEGER, [
+ 'notnull' => true,
+ 'default' => 1,
+ ]);
$table->addColumn('user_id', Types::STRING, [
'notnull' => false,
'length' => 64,