Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Kim <gary@garykim.dev>2021-07-14 06:45:54 +0300
committerGary Kim <gary@garykim.dev>2021-07-15 20:55:21 +0300
commitcf85ac6c9f8c90341cf9f35a20886d6c3a5db8fd (patch)
tree9912317776dc262d475cea979a8eb95c635f8b49 /lib/Migration
parentc49a1c27544ab0a4014a2ff385285d2bb556e5e6 (diff)
Add remoteId
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'lib/Migration')
-rw-r--r--lib/Migration/Version13000Date20210625232111.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Migration/Version13000Date20210625232111.php b/lib/Migration/Version13000Date20210625232111.php
index fc3514462..3f19a546c 100644
--- a/lib/Migration/Version13000Date20210625232111.php
+++ b/lib/Migration/Version13000Date20210625232111.php
@@ -49,6 +49,14 @@ class Version13000Date20210625232111 extends SimpleMigrationStep {
$table->addColumn('access_token', Types::STRING, [
'notnull' => false,
'default' => null,
+ 'length' => 64
+ ]);
+ }
+ if (!$table->hasColumn('remote_id')) {
+ $table->addColumn('remote_id', Types::STRING, [
+ 'notnull' => false,
+ 'default' => null,
+ 'length' => 255,
]);
}
@@ -76,6 +84,11 @@ class Version13000Date20210625232111 extends SimpleMigrationStep {
]);
$table->addColumn('access_token', Types::STRING, [
'notnull' => true,
+ 'length' => 64,
+ ]);
+ $table->addColumn('remote_id', Types::STRING, [
+ 'notnull' => true,
+ 'length' => 255,
]);
$table->setPrimaryKey(['id']);