tracker stuff

This commit is contained in:
2019-12-25 23:21:33 -06:00
parent 3b04fff2c8
commit e6a15c04c8
36 changed files with 2142 additions and 0 deletions
@@ -0,0 +1,51 @@
<?php
use PragmaRX\Tracker\Support\Migration;
class FixQueryArguments extends Migration
{
/**
* Table related to this migration.
*
* @var string
*/
private $table = 'tracker_query_arguments';
/**
* Run the migrations.
*
* @return void
*/
public function migrateUp()
{
try {
$this->builder->table(
$this->table,
function ($table) {
$table->string('value')->nullable()->change();
}
);
} catch (\Exception $e) {
dd($e->getMessage());
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function migrateDown()
{
try {
$this->builder->table(
$this->table,
function ($table) {
$table->string('value')->change();
}
);
} catch (\Exception $e) {
dd($e->getMessage());
}
}
}