Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/cholladay0816/CreatorCore
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
cholladay0816 committed Sep 6, 2023
2 parents 68cc8e1 + 904aae5 commit 01621b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/Models/Creator.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public function commissionPresets(): HasMany
return $this->hasMany(CommissionPreset::class, 'user_id', 'user_id');
}

public function banner_url(): string|null {
if(is_null($this->banner_path))
{
public function banner_url(): string|null
{
if(is_null($this->banner_path)) {
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class () extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('creators', function(Blueprint $table) {
Schema::table('creators', function (Blueprint $table) {
$table->string('title')->nullable()->change();
$table->string('headline')->nullable()->change();
});
Expand Down

0 comments on commit 01621b0

Please sign in to comment.