i3bepb / laravel-drop-foreign-if-exists
为 psql 实现删除外键的方法 drop foreign if exist
1.0.1
2023-03-01 19:45 UTC
Requires
- php: ^7.4 || ^8.0
- illuminate/support: ^7.0 || ^8.0 || ^9.0
Requires (Dev)
- nunomaduro/collision: ^6.2 || ^5.0
- orchestra/testbench: ^v6.0 || ^v7.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-09-29 22:59:37 UTC
README
在 Postgresql 的 Blueprint 中添加 dropForeignIfExists 方法。
支持策略
测试
查看测试工作流程 testing.yml。例如 Laravel 9。
docker pull i3bepb/php-for-test:1.0.0-php-8.1.16-cli-alpine3.17
使用卷运行容器
docker run --rm -it -v $(pwd):/home/www-data/application i3bepb/php-for-test:1.0.0-php-8.1.16-cli-alpine3.17 sh
在容器中
composer install && php vendor/bin/testbench package:test --do-not-cache-result