Skip to content

Commit 561924f

Browse files
committed
Merge pull request #374 from forkify/migration
Simplify the Migration class and rename it to AbstractMigration
2 parents e9a4cae + 8f2f949 commit 561924f

15 files changed

+43
-41
lines changed

migrations/2014_04_24_110151_create_oauth_scopes_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthScopesTable extends Migration
6+
class CreateOauthScopesTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_110304_create_oauth_grants_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthGrantsTable extends Migration
6+
class CreateOauthGrantsTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_110403_create_oauth_grant_scopes_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthGrantScopesTable extends Migration
6+
class CreateOauthGrantScopesTable extends AbstractMigration
77
{
88
/**
99
* Run the migrations.

migrations/2014_04_24_110459_create_oauth_clients_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthClientsTable extends Migration
6+
class CreateOauthClientsTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_110557_create_oauth_client_endpoints_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthClientEndpointsTable extends Migration
6+
class CreateOauthClientEndpointsTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_110705_create_oauth_client_scopes_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthClientScopesTable extends Migration
6+
class CreateOauthClientScopesTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_110817_create_oauth_client_grants_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthClientGrantsTable extends Migration
6+
class CreateOauthClientGrantsTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_111002_create_oauth_sessions_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthSessionsTable extends Migration
6+
class CreateOauthSessionsTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_111109_create_oauth_session_scopes_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthSessionScopesTable extends Migration
6+
class CreateOauthSessionScopesTable extends AbstractMigration
77
{
88

99
/**

migrations/2014_04_24_111254_create_oauth_auth_codes_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Illuminate\Database\Schema\Blueprint;
4-
use LucaDegasperi\OAuth2Server\Support\Migration;
4+
use LucaDegasperi\OAuth2Server\Support\AbstractMigration;
55

6-
class CreateOauthAuthCodesTable extends Migration
6+
class CreateOauthAuthCodesTable extends AbstractMigration
77
{
88

99
/**

0 commit comments

Comments
 (0)