XE3
플러그인에서 DB migration 지원 (라라벨 migration)
플러그인 업데이트시 설치했던 DB와 충돌나지 않도록 migration을 지원했으면 합니다.
이 부분에 대해 어떻게 생각하시는지 궁금합니다.
제가 이전에 사용했었던 AsgardCMS 라는 CMS 프레임워크가 있는데, migration 기능을 훌륭하게 지원했었습니다. 참고하시면 좋을듯 합니다.
https://asgardcms.com/docs/v3/core-module/manage-modules-and-themes#install-module-theme
To run the migrations of a module, run the following in your terminal:
php artisan module:migrate ModuleName
Run the following command in your terminal:
php artisan module:seed ModuleName
0개 댓글