Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Croker committed Apr 17, 2021
1 parent 03acdef commit 728e370
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function safeUp(): bool
*/
public function safeDown(): bool
{
$this->dropTableIfExists('{{%snaptcha}}');
$this->dropTableIfExists(SnaptchaRecord::tableName());

return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function safeUp(): bool
*/
public function safeDown(): bool
{
echo "m181009_120000_update_blacklist_settings cannot be reverted.\n";
echo self::class." cannot be reverted.\n";

return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/m210216_120000_migrate_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function safeUp(): bool
*/
public function safeDown(): bool
{
echo "m181009_120000_update_blacklist_settings cannot be reverted.\n";
echo self::class." cannot be reverted.\n";

return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/m210217_120000_add_value_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function safeUp(): bool
*/
public function safeDown(): bool
{
echo "m181009_120000_update_blacklist_settings cannot be reverted.\n";
echo self::class." cannot be reverted.\n";

return false;
}
Expand Down

0 comments on commit 728e370

Please sign in to comment.