Skip to content

Commit

Permalink
fixing mysql pdo driver
Browse files Browse the repository at this point in the history
  • Loading branch information
leodisarli committed Nov 30, 2023
1 parent 00a9fc1 commit ce019aa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ This command will create a folder in `app/Domains`, new files in `routes`, `data
- You can modify or add more business rule in `app/Domains/{your_domain}/Businesses`
- Or your routes in `bootstrap/{your_domain}_routes` folder

### Running your Migration

- Once you have configured your migration file in `database/migrations`;
- Run the migration

```sh
php artisan migration
```

### Ulid

For primary key value, this project using [Ulid](https://github.com/not-empty/ulid-php-lib) value, but you can pass other pattern in insert route if you prefer.
Expand Down
3 changes: 3 additions & 0 deletions ops/docker/dev/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ RUN apt update \
&& apt upgrade -y \
&& apt install zip unzip git -y

RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& docker-php-ext-enable pdo_mysql

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer

WORKDIR /var/www/html
Expand Down
5 changes: 4 additions & 1 deletion ops/docker/prod/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ RUN apt update \
&& apt upgrade -y \
&& apt install zip unzip git -y

RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& docker-php-ext-enable pdo_mysql

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer

COPY ./ops/docker/prod/php-clear/newrelic-php5-9.21.0.311-linux.tar.gz /usr/src
COPY ./ops/docker/prod/php-fpm/newrelic-php5-9.21.0.311-linux.tar.gz /usr/src

RUN tar -xvf /usr/src/newrelic-php5-9.21.0.311-linux.tar.gz -C /usr/src && \
mkdir /etc/init.d && \
Expand Down
16 changes: 0 additions & 16 deletions tests/config/junit.xml

This file was deleted.

0 comments on commit ce019aa

Please sign in to comment.