diff options
| author | Camil Staps | 2017-09-20 17:12:43 +0200 | 
|---|---|---|
| committer | Camil Staps | 2017-09-20 17:12:43 +0200 | 
| commit | e661ce344127ca8acd1300746c5132098578fab7 (patch) | |
| tree | a0d55336f6d23d24ac08400c9846e30ca529b2af /database/migrations | |
| parent | Hide top users on some pages (diff) | |
Use POST for long queries; change request to TEXT type for the same reason
Diffstat (limited to 'database/migrations')
| -rw-r--r-- | database/migrations/2017_09_20_150615_make_request_text.php | 32 | 
1 files changed, 32 insertions, 0 deletions
| diff --git a/database/migrations/2017_09_20_150615_make_request_text.php b/database/migrations/2017_09_20_150615_make_request_text.php new file mode 100644 index 0000000..4ccf82b --- /dev/null +++ b/database/migrations/2017_09_20_150615_make_request_text.php @@ -0,0 +1,32 @@ +<?php + +use Illuminate\Support\Facades\Schema; +use Illuminate\Database\Schema\Blueprint; +use Illuminate\Database\Migrations\Migration; + +class MakeRequestText extends Migration +{ +	/** +	 * Run the migrations. +	 * +	 * @return void +	 */ +	public function up() +	{ +		Schema::table('random_logs', function (Blueprint $table) { +			$table->text('request')->change(); +		}); +	} + +	/** +	 * Reverse the migrations. +	 * +	 * @return void +	 */ +	public function down() +	{ +		Schema::table('random_logs', function (Blueprint $table) { +			// +		}); +	} +} | 
