@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | { |
17 | 17 | Schema::create('quickbooks_tokens', function (Blueprint $table) { |
18 | 18 | $user_id_type = DB::getSchemaBuilder() |
19 | - ->getColumnType('users', 'id') === 'bigint' ? 'unsignedBigInteger' : 'unsignedInteger'; |
|
19 | + ->getColumnType('users', 'id') === 'bigint' ? 'unsignedBigInteger' : 'unsignedInteger'; |
|
20 | 20 | |
21 | 21 | $table->bigIncrements('id'); |
22 | 22 | $table->{$user_id_type}('user_id'); |
@@ -29,9 +29,9 @@ discard block |
||
29 | 29 | $table->timestamps(); |
30 | 30 | |
31 | 31 | $table->foreign('user_id') |
32 | - ->references('id') |
|
33 | - ->on('users') |
|
34 | - ->onDelete('cascade'); |
|
32 | + ->references('id') |
|
33 | + ->on('users') |
|
34 | + ->onDelete('cascade'); |
|
35 | 35 | }); |
36 | 36 | } |
37 | 37 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | if ($quickbooks->hasValidRefreshToken()) { |
37 | 37 | return $view_factory->make('quickbooks::disconnect') |
38 | 38 | ->with('company', $quickbooks->getDataService() |
39 | - ->getCompanyInfo()); |
|
39 | + ->getCompanyInfo()); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | // Give view to link account |