diff --git a/src/migrations/Install.php b/src/migrations/Install.php index 0a15991..1f91145 100644 --- a/src/migrations/Install.php +++ b/src/migrations/Install.php @@ -79,6 +79,7 @@ public function safeDown() */ protected function createTables() { + if (!$this->db->tableExists('{{%social_login_accounts}}')) { $this->createTable( '{{%social_login_accounts}}', [ @@ -93,6 +94,7 @@ protected function createTables() 'PRIMARY KEY(id)', ] ); + } } /**