forked from corowne/lorekeeper
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v3.0.0' of https://github.com/corowne/lorekeeper …
…into extension/criteria-3.0.0
- Loading branch information
Showing
31 changed files
with
234 additions
and
130 deletions.
There are no files selected for viewing
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
79 changes: 79 additions & 0 deletions
79
database/migrations/2024_05_16_220813_adjust_database_character_limits.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,79 @@ | ||
<?php | ||
|
||
use Illuminate\Database\Migrations\Migration; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Support\Facades\Schema; | ||
|
||
class AdjustDatabaseCharacterLimits extends Migration { | ||
/** | ||
* Run the migrations. | ||
*/ | ||
public function up() { | ||
Schema::table('character_log', function (Blueprint $table) { | ||
$table->text('log')->change(); | ||
$table->text('data')->nullable()->change(); | ||
}); | ||
|
||
Schema::table('character_items', function (Blueprint $table) { | ||
$table->text('data')->nullable()->change(); | ||
}); | ||
|
||
Schema::table('currencies_log', function (Blueprint $table) { | ||
$table->text('log')->nullable()->change(); | ||
}); | ||
|
||
Schema::table('items_log', function (Blueprint $table) { | ||
$table->text('log')->nullable()->change(); | ||
$table->text('data')->nullable()->change(); | ||
}); | ||
|
||
Schema::table('user_character_log', function (Blueprint $table) { | ||
$table->text('log')->change(); | ||
$table->text('data')->nullable()->change(); | ||
}); | ||
|
||
Schema::table('user_items', function (Blueprint $table) { | ||
$table->text('data')->nullable()->change(); | ||
}); | ||
|
||
Schema::table('user_update_log', function (Blueprint $table) { | ||
$table->text('data')->change(); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
*/ | ||
public function down() { | ||
Schema::table('character_log', function (Blueprint $table) { | ||
$table->string('log', 191)->change(); | ||
$table->string('data', 1024)->nullable()->change(); | ||
}); | ||
|
||
Schema::table('character_items', function (Blueprint $table) { | ||
$table->string('data', 1024)->nullable()->change(); | ||
}); | ||
|
||
Schema::table('currencies_log', function (Blueprint $table) { | ||
$table->string('log', 512)->nullable()->change(); | ||
}); | ||
|
||
Schema::table('items_log', function (Blueprint $table) { | ||
$table->string('log', 1024)->nullable()->change(); | ||
$table->string('data', 1024)->nullable()->change(); | ||
}); | ||
|
||
Schema::table('user_character_log', function (Blueprint $table) { | ||
$table->string('log', 191)->change(); | ||
$table->string('data', 1024)->nullable()->change(); | ||
}); | ||
|
||
Schema::table('user_items', function (Blueprint $table) { | ||
$table->string('data', 1024)->nullable()->change(); | ||
}); | ||
|
||
Schema::table('user_update_log', function (Blueprint $table) { | ||
$table->string('data', 512)->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
Oops, something went wrong.