Skip to content

Commit 9e7eb26

Browse files
committed
Add migration dependency to handle webpush subscriptions data first.
1 parent 63ea0de commit 9e7eb26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

migrations/add_webpush.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ public function effectively_installed(): bool
1919
return $this->db_tools->sql_table_exists($this->table_prefix . 'wpn_notification_push');
2020
}
2121

22+
static public function depends_on()
23+
{
24+
return ['\phpbb\webpushnotifications\migrations\handle_subscriptions'];
25+
}
26+
2227
public function update_schema(): array
2328
{
2429
return [

0 commit comments

Comments
 (0)