Skip to content

Commit

Permalink
admin groups - migration fix (#1119)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Havelka <[email protected]>
  • Loading branch information
GitHubJanHave and Jan Havelka authored Nov 22, 2023
1 parent ae693f8 commit 0c448bb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class Version20231122111334 extends AbstractMigration
final class Version20231122111336 extends AbstractMigration
{
public function getDescription(): string
{
Expand All @@ -23,9 +23,10 @@ public function up(Schema $schema): void
$this->addSql('INSERT INTO `settings` (`item`, `value`) VALUES (\'group_fill_term\', \'2023-10-20\')');
$this->addSql('INSERT INTO `settings` (`item`, `value`) VALUES (\'group_max_members\', \'11\')');
$this->addSql('INSERT INTO `settings` (`item`, `value`) VALUES (\'group_min_members\', \'5\')');
$this->addSql('INSERT INTO `resource` (`id`,`name`) VALUES (9, \'groups\')');
$this->addSql('INSERT INTO `permission` (`id`, `resource_id`, `name`) VALUES (15, 9, \'manage\')');
$this->addSql('INSERT INTO `resource` (`name`) VALUES (\'groups\')');
$this->addSql('INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES (8, 15)');
$this->addSql('INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES (7, 15)');
$this->addSql('INSERT INTO `status` (`name`) VALUES (\'čeká na naplnění\')');
$this->addSql('INSERT INTO `status` (`name`) VALUES (\'čeká na zaplacení\')');
$this->addSql('INSERT INTO `status` (`name`) VALUES (\'zaplacená\')');
Expand Down

0 comments on commit 0c448bb

Please sign in to comment.