feat: M2 database migration runner with Phinx and initial schema
This commit is contained in:
1 parent
d3e8cf8fae
commit
93d991703c
20 files changed
+2000
-14
No files matched your search
+2
-2
@@ -53,8 +53,8 @@ independent of your current working directory and propagate exit codes.
|
||||
./dev.sh lint # run composer lint inside the app container
|
||||
./dev.sh assets # build minified CSS inside the assets container
|
||||
./dev.sh watch # start Tailwind watch inside the assets container
|
||||
./dev.sh migrate # unavailable until M2 (#12); exits nonzero
|
||||
./dev.sh seed # unavailable until M2 (#12); exits nonzero
|
||||
./dev.sh migrate # run database migrations (M2 #12)
|
||||
./dev.sh seed # seed default reference data (M2 #12)
|
||||
```
|
||||
|
||||
`down --volumes` and `down -v` are blocked by the wrapper. Never remove the named
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM php:8.3-fpm-bookworm
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libonig-dev libxml2-dev unzip \
|
||||
&& docker-php-ext-install mbstring dom \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libonig-dev libxml2-dev libpq-dev unzip \
|
||||
&& docker-php-ext-install mbstring dom pdo_pgsql \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
|
||||
WORKDIR /var/www/html
|
||||
|
||||
Reference in new issue
Block a user