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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2019-12-27 12:56:39 +0300
committerdartcafe <github@dartcafe.de>2019-12-27 12:56:39 +0300
commit4d6b4fa14b8113821b46f5e50581293fff31efe6 (patch)
treeb13f534807a113def3f8f6add9a7e4ec05a14247 /lib/Migration
parent7b2aa5b64dd20a2a2e761e94f111969e79515dac (diff)
removed orphaned Notice and NoticeMapper
Diffstat (limited to 'lib/Migration')
-rw-r--r--lib/Migration/Version0010Date20191221183157.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/Migration/Version0010Date20191221183157.php b/lib/Migration/Version0010Date20191221183157.php
index 75190e46..271c247e 100644
--- a/lib/Migration/Version0010Date20191221183157.php
+++ b/lib/Migration/Version0010Date20191221183157.php
@@ -66,43 +66,6 @@ class Version0010Date20191221183157 extends SimpleMigrationStep {
/** @var ISchemaWrapper $schema */
$schema = $schemaClosure();
- if (!$schema->hasTable('polls_notice')) {
- $table = $schema->createTable('polls_notice');
- $table->addColumn('id', Type::INTEGER, [
- 'autoincrement' => true,
- 'notnull' => true,
- ]);
- $table->addColumn('poll_id', Type::INTEGER, [
- 'notnull' => true
- ]);
- $table->addColumn('channel', Type::STRING, [
- 'notnull' => false,
- 'length' => 64
- ]);
- $table->addColumn('user_id', Type::STRING, [
- 'notnull' => false,
- 'length' => 1024
- ]);
- $table->addColumn('user_email', Type::STRING, [
- 'notnull' => false,
- 'length' => 1024
- ]);
- $table->addColumn('display_name', Type::STRING, [
- 'notnull' => false,
- 'length' => 64
- ]);
- $table->addColumn('message_id', Type::STRING, [
- 'notnull' => false,
- 'length' => 64
- ]);
- $table->addColumn('message', Type::STRING, [
- 'notnull' => false,
- 'length' => 1024
- ]);
-
- $table->setPrimaryKey(['id']);
- }
-
if (!$schema->hasTable('polls_log')) {
$table = $schema->createTable('polls_log');
$table->addColumn('id', Type::INTEGER, [