@@ -10,7 +10,7 @@ |
||
| 10 | 10 | public function up(): void |
| 11 | 11 | { |
| 12 | 12 | //Action when migrate up |
| 13 | - $this->create('permissions', function (CreateTable $table) { |
|
| 13 | + $this->create('permissions', function(CreateTable $table) { |
|
| 14 | 14 | $table->integer('id') |
| 15 | 15 | ->autoincrement() |
| 16 | 16 | ->primary(); |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | public function up(): void |
| 11 | 11 | { |
| 12 | 12 | //Action when migrate up |
| 13 | - $this->create('permissions_roles', function (CreateTable $table) { |
|
| 13 | + $this->create('permissions_roles', function(CreateTable $table) { |
|
| 14 | 14 | $table->integer('permission_id'); |
| 15 | 15 | $table->integer('role_id'); |
| 16 | 16 | |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | public function up(): void |
| 11 | 11 | { |
| 12 | 12 | //Action when migrate up |
| 13 | - $this->create('roles_users', function (CreateTable $table) { |
|
| 13 | + $this->create('roles_users', function(CreateTable $table) { |
|
| 14 | 14 | $table->integer('user_id'); |
| 15 | 15 | $table->integer('role_id'); |
| 16 | 16 | |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | public function up(): void |
| 11 | 11 | { |
| 12 | 12 | //Action when migrate up |
| 13 | - $this->create('roles', function (CreateTable $table) { |
|
| 13 | + $this->create('roles', function(CreateTable $table) { |
|
| 14 | 14 | $table->integer('id') |
| 15 | 15 | ->autoincrement() |
| 16 | 16 | ->primary(); |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | public function up(): void |
| 11 | 11 | { |
| 12 | 12 | //Action when migrate up |
| 13 | - $this->create('users', function (CreateTable $table) { |
|
| 13 | + $this->create('users', function(CreateTable $table) { |
|
| 14 | 14 | $table->integer('id') |
| 15 | 15 | ->autoincrement() |
| 16 | 16 | ->primary(); |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | public function up(): void |
| 11 | 11 | { |
| 12 | 12 | //Action when migrate up |
| 13 | - $this->create('tokens', function (CreateTable $table) { |
|
| 13 | + $this->create('tokens', function(CreateTable $table) { |
|
| 14 | 14 | $table->integer('id') |
| 15 | 15 | ->autoincrement() |
| 16 | 16 | ->primary(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('configurations', function (CreateTable $table) { |
|
| 15 | + $this->create('configurations', function(CreateTable $table) { |
|
| 16 | 16 | $table->integer('id') |
| 17 | 17 | ->autoincrement() |
| 18 | 18 | ->primary(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('audits', function (CreateTable $table) { |
|
| 15 | + $this->create('audits', function(CreateTable $table) { |
|
| 16 | 16 | $table->integer('id') |
| 17 | 17 | ->autoincrement() |
| 18 | 18 | ->primary(); |
@@ -4,6 +4,6 @@ |
||
| 4 | 4 | use Platine\App\Http\Action\HomeAction; |
| 5 | 5 | use Platine\Route\Router; |
| 6 | 6 | |
| 7 | - return [static function (Router $router): void { |
|
| 7 | + return [static function(Router $router): void { |
|
| 8 | 8 | $router->get('/', HomeAction::class, 'home'); |
| 9 | 9 | }]; |