Change the naming of the migrations table of Laravel 5.1

3

I'm creating an application that should be scalable and for this a full scope of tables, relationships, and the like has been made. In this scope, I use the migrations table that Laravel 5.1 treats for each database implementation. Is there any way I can change the nomenclature of the migrations table to something "brazed" (eg: Versioning, Migration, Version), to make the code more readable for anyone on the team?     

asked by anonymous 02.12.2015 / 01:37

1 answer

2

In the config/database.php file, where there is array configuration, you should change the line containing the following:

'migrations' => 'migrations',

For what you want, like:

'migrations' => 'migracoes',

See line 101:

link

    
02.12.2015 / 02:04