diff options
author | dartcafe <github@dartcafe.de> | 2019-12-27 12:56:39 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2019-12-27 12:56:39 +0300 |
commit | 4d6b4fa14b8113821b46f5e50581293fff31efe6 (patch) | |
tree | b13f534807a113def3f8f6add9a7e4ec05a14247 /lib/Migration | |
parent | 7b2aa5b64dd20a2a2e761e94f111969e79515dac (diff) |
removed orphaned Notice and NoticeMapper
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version0010Date20191221183157.php | 37 |
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, [ |