@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('oauth_authorization_codes', function (CreateTable $table) { |
|
| 15 | + $this->create('oauth_authorization_codes', function(CreateTable $table) { |
|
| 16 | 16 | $table->string('authorization_code', 100) |
| 17 | 17 | ->notNull() |
| 18 | 18 | ->description('The authorization code') |
@@ -7,8 +7,7 @@ |
||
| 7 | 7 | use Platine\Database\Schema\CreateTable; |
| 8 | 8 | use Platine\Framework\Migration\AbstractMigration; |
| 9 | 9 | |
| 10 | -class AddOauth2AuthorizationCodesTable20230802152529 extends AbstractMigration |
|
| 11 | -{ |
|
| 10 | +class AddOauth2AuthorizationCodesTable20230802152529 extends AbstractMigration { |
|
| 12 | 11 | public function up(): void |
| 13 | 12 | { |
| 14 | 13 | //Action when migrate up |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('oauth_scopes', function (CreateTable $table) { |
|
| 15 | + $this->create('oauth_scopes', function(CreateTable $table) { |
|
| 16 | 16 | $table->integer('id') |
| 17 | 17 | ->autoincrement() |
| 18 | 18 | ->primary(); |
@@ -7,8 +7,7 @@ |
||
| 7 | 7 | use Platine\Database\Schema\CreateTable; |
| 8 | 8 | use Platine\Framework\Migration\AbstractMigration; |
| 9 | 9 | |
| 10 | -class AddOauth2ScopesTable20230802144938 extends AbstractMigration |
|
| 11 | -{ |
|
| 10 | +class AddOauth2ScopesTable20230802144938 extends AbstractMigration { |
|
| 12 | 11 | public function up(): void |
| 13 | 12 | { |
| 14 | 13 | //Action when migrate up |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('oauth_refresh_tokens', function (CreateTable $table) { |
|
| 15 | + $this->create('oauth_refresh_tokens', function(CreateTable $table) { |
|
| 16 | 16 | $table->string('refresh_token', 100) |
| 17 | 17 | ->notNull() |
| 18 | 18 | ->description('The refresh token') |
@@ -7,8 +7,7 @@ |
||
| 7 | 7 | use Platine\Database\Schema\CreateTable; |
| 8 | 8 | use Platine\Framework\Migration\AbstractMigration; |
| 9 | 9 | |
| 10 | -class AddOauth2RefreshTokensTable20230802152020 extends AbstractMigration |
|
| 11 | -{ |
|
| 10 | +class AddOauth2RefreshTokensTable20230802152020 extends AbstractMigration { |
|
| 12 | 11 | public function up(): void |
| 13 | 12 | { |
| 14 | 13 | //Action when migrate up |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('oauth_access_tokens', function (CreateTable $table) { |
|
| 15 | + $this->create('oauth_access_tokens', function(CreateTable $table) { |
|
| 16 | 16 | $table->string('access_token', 100) |
| 17 | 17 | ->notNull() |
| 18 | 18 | ->description('The access token') |
@@ -7,8 +7,7 @@ |
||
| 7 | 7 | use Platine\Database\Schema\CreateTable; |
| 8 | 8 | use Platine\Framework\Migration\AbstractMigration; |
| 9 | 9 | |
| 10 | -class AddOauth2AccessTokensTable20230802151233 extends AbstractMigration |
|
| 11 | -{ |
|
| 10 | +class AddOauth2AccessTokensTable20230802151233 extends AbstractMigration { |
|
| 12 | 11 | public function up(): void |
| 13 | 12 | { |
| 14 | 13 | //Action when migrate up |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('oauth_clients', function (CreateTable $table) { |
|
| 15 | + $this->create('oauth_clients', function(CreateTable $table) { |
|
| 16 | 16 | $table->string('id', 100) |
| 17 | 17 | ->notNull() |
| 18 | 18 | ->description('The client id') |
@@ -7,8 +7,7 @@ |
||
| 7 | 7 | use Platine\Database\Schema\CreateTable; |
| 8 | 8 | use Platine\Framework\Migration\AbstractMigration; |
| 9 | 9 | |
| 10 | -class AddOauth2ClientsTable20230802150106 extends AbstractMigration |
|
| 11 | -{ |
|
| 10 | +class AddOauth2ClientsTable20230802150106 extends AbstractMigration { |
|
| 12 | 11 | public function up(): void |
| 13 | 12 | { |
| 14 | 13 | //Action when migrate up |