mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Add db migrate to laravel template
This commit is contained in:
parent
de963c8866
commit
2c0924ab5b
@ -18,4 +18,16 @@ class LaravelTemplate extends FrameworkTemplate
|
||||
{
|
||||
return 'laravel';
|
||||
}
|
||||
|
||||
protected function getExtraContent()
|
||||
{
|
||||
return <<<PHP
|
||||
|
||||
// Migrate database before symlink new release.
|
||||
|
||||
before('deploy:symlink', 'artisan:migrate');
|
||||
|
||||
PHP;
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user