<commit_before><?php
/* (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Deployer\Initializer\Template;

/**
 * Generate a Laravel deployer configuration.
 *
 * @author <NAME> <<EMAIL>>
 */
class LaravelTemplate extends FrameworkTemplate
{
    protected function getRecipe()
    {
        return 'laravel';
    }
}<commit_msg>Add db migrate to laravel template<commit_after><?php
/* (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Deployer\Initializer\Template;

/**
 * Generate a Laravel deployer configuration.
 *
 * @author <NAME> <<EMAIL>>
 */
class LaravelTemplate extends FrameworkTemplate
{
    protected function getRecipe()
    {
        return 'laravel';
    }

    protected function getExtraContent()
    {
        return <<<PHP

// Migrate database before symlink new release.

before('deploy:symlink', 'artisan:migrate');

PHP;

    }
}
{'fraction_non_alphanumeric': 0.11152073732718894, 'fraction_numerical': 0.0, 'mean_word_length': 3.5822784810126582, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2130565', 'n_tokens_mistral': 313, 'n_tokens_neox': 307, 'n_words': 103}