Skip to content

Commit 841d983

Browse files
committed
Add effectively_installed() method.
1 parent 4fe1a0d commit 841d983

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

migrations/handle_subscriptions.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414

1515
class handle_subscriptions extends container_aware_migration
1616
{
17+
public function effectively_installed()
18+
{
19+
return !$this->db_tools->sql_table_exists($this->table_prefix . 'wpn_notification_push');
20+
}
21+
1722
public function revert_data(): array
1823
{
1924
return [

0 commit comments

Comments
 (0)