Skip to content

Commit

Permalink
Add migration to set installed version in config
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ober committed Nov 6, 2023
1 parent 2dcf88f commit dfb7be5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions migrations/v308/add_version.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace mober\discordnotifications\migrations\v308;

class add_version extends \phpbb\db\migration\migration
{
static public function depends_on()
{
return ['\mober\discordnotifications\migrations\extension_installation'];
}

public function update_data()
{
return [
['config.add', ['discord_notification_version', '3.0.8']],
];
}
}

0 comments on commit dfb7be5

Please sign in to comment.