Skip to content

Commit

Permalink
Merge pull request #88 from WildCodeSchool-2023-09/db-modif-before-de…
Browse files Browse the repository at this point in the history
…ployment

database changes
  • Loading branch information
KevinDavoust authored Nov 21, 2023
2 parents e7f7ece + 066c13c commit e3d2119
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
username: ${{ secrets.SSH_USER }}
host: ${{ secrets.SSH_HOST }}
password: ${{ secrets.SSH_PASSWORD }}
script: cd && cd traefik/deploy && bash ./php-project.sh ${{ github.actor }} ${{ github.event.repository.name }} ${{ vars.PROJECT_NAME }} '${{ toJSON(vars) }}'
script: cd && cd traefik/deploy && bash ./php-project.sh ${{ github.event.repository.owner.name }} ${{ github.event.repository.name }} ${{ vars.PROJECT_NAME }} '${{ toJSON(vars) }}'
6 changes: 3 additions & 3 deletions bdd_blog.sql → database.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DROP DATABASE IF EXISTS bdd_blog;
CREATE DATABASE bdd_blog;
USE bdd_blog;
DROP DATABASE IF EXISTS 2023_09_PHP_Bordeaux_P2_Blog;
CREATE DATABASE 2023_09_PHP_Bordeaux_P2_Blog;
USE 2023_09_PHP_Bordeaux_P2_Blog;

CREATE TABLE blog_user (
id INT NOT NULL AUTO_INCREMENT,
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
DB_USER: user
DB_PASSWORD: password
DB_HOST: database
DB_NAME: simplemvc
DB_NAME: 2023_09_PHP_Bordeaux_P2_Blog
depends_on:
database:
condition: service_healthy
Expand Down

0 comments on commit e3d2119

Please sign in to comment.