Skip to content

Commit

Permalink
Fixes #488 - longer user jobtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Feb 4, 2015
1 parent b3af102 commit 1db806f
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class IncreaseUserFieldLengths extends Migration {

/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'users MODIFY column jobtitle varchar(100) null');
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'users MODIFY column jobtitle varchar(50) null');
}

}

0 comments on commit 1db806f

Please sign in to comment.