Skip to content

Commit

Permalink
docker-compose.yml: latest tag pulls version 16, which prevents furth…
Browse files Browse the repository at this point in the history
…er upgrade

Signed-off-by: Andrew Ammerlaan <[email protected]>
  • Loading branch information
Nowa-Ammerlaan committed Dec 5, 2023
1 parent 764d500 commit 9463c98
Show file tree
Hide file tree
Showing 3 changed files with 1,410 additions and 1,315 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ services:

# node
node-service:
image: node:latest
image: node:20
container_name: node-container
volumes:
- .:/var/www/project
Expand Down
31 changes: 31 additions & 0 deletions migrations/Version20231205202754.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231205202754 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}

public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE admin_member CHANGE roles roles JSON DEFAULT \'[]\' NOT NULL COMMENT \'(DC2Type:json)\'');
}

public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE admin_member CHANGE roles roles JSON DEFAULT \'[]\' NOT NULL COMMENT \'(DC2Type:json)\'');
}
}
Loading

0 comments on commit 9463c98

Please sign in to comment.