-
-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/5.3.8: Apply fixes from StyleCI (#705) updates compiled assets added ext-intl as a dependency added the post type Removal of the lining of the variable $locale Fix Class 'Locale' not found compiled assets fixes #695 cleanup and refactor Apply fixes from StyleCI (#701) refactoring and cleanup
- Loading branch information
Showing
16 changed files
with
236 additions
and
174 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
database/migrations/2020_04_10_000000_alter_canvas_tables_user_id_column_type.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
|
||
use Illuminate\Database\Migrations\Migration; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Support\Facades\Schema; | ||
|
||
class AlterCanvasTablesUserIdColumnType extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
Schema::table('canvas_user_meta', function (Blueprint $table) { | ||
$table->unsignedBigInteger('user_id')->nullable(false)->charset(null)->change(); | ||
}); | ||
|
||
Schema::table('canvas_posts', function (Blueprint $table) { | ||
$table->unsignedBigInteger('user_id')->nullable(false)->charset(null)->change(); | ||
}); | ||
|
||
Schema::table('canvas_tags', function (Blueprint $table) { | ||
$table->unsignedBigInteger('user_id')->nullable(false)->charset(null)->change(); | ||
}); | ||
|
||
Schema::table('canvas_topics', function (Blueprint $table) { | ||
$table->unsignedBigInteger('user_id')->nullable(false)->charset(null)->change(); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down() | ||
{ | ||
Schema::table('canvas_user_meta', function (Blueprint $table) { | ||
$table->string('user_id')->change(); | ||
}); | ||
|
||
Schema::table('canvas_posts', function (Blueprint $table) { | ||
$table->string('user_id')->change(); | ||
}); | ||
|
||
Schema::table('canvas_tags', function (Blueprint $table) { | ||
$table->string('user_id')->change(); | ||
}); | ||
|
||
Schema::table('canvas_topics', function (Blueprint $table) { | ||
$table->string('user_id')->change(); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.