File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 7373
7474 - name : Composer get cache directory
7575 id : composer-cache
76- run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
76+ run : echo "dir=$(composer config cache-files-dir)" >> " $GITHUB_OUTPUT"
7777
7878 - name : Composer cache dependencies
7979 uses : actions/cache@v4
@@ -122,11 +122,11 @@ jobs:
122122 - name : Run tests
123123 shell : ' script -q -e -c "bash {0}"'
124124 run : |
125- if [[ ${{ matrix.php-version }} == '7.4' && ${{ matrix.symfony-version == '5-max' }} ]]; then
126- export CODECOVERAGE=1 && vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml --verbose --coverage-clover=tests/coverage.xml
127- else
128- vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml
129- fi
125+ if [[ ${{ matrix.php-version }} == '7.4' && ${{ matrix.symfony-version }} == '5-max' ]]; then
126+ export CODECOVERAGE=1 && vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml --verbose --coverage-clover=tests/coverage.xml
127+ else
128+ vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml
129+ fi
130130 env :
131131 SYMFONY_VERSION : ${{ matrix.symfony-version }}
132132
@@ -153,7 +153,7 @@ jobs:
153153 - name : Composer get cache directory
154154 id : composer-cache
155155 run : |
156- echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
156+ echo "dir=$(composer config cache-files-dir)" >> " $GITHUB_OUTPUT"
157157
158158 - name : Composer cache
159159 uses : actions/cache@v4
Original file line number Diff line number Diff line change 323323 <foreign-key foreignTable =" book" onDelete =" setnull" phpName =" Work" >
324324 <reference local =" prize_book_id" foreign =" id" />
325325 </foreign-key >
326+ <!-- Add this unique constraint as a fallback -->
327+ <unique >
328+ <unique-column name =" bookstore_id" />
329+ <unique-column name =" contest_id" />
330+ </unique >
326331 </table >
327332
328333 <table name =" bookstore_contest_entry" reloadOnInsert =" true" >
You can’t perform that action at this time.
0 commit comments