Skip to content

Commit

Permalink
Merge pull request #289 from moe-lk/moe-lk/sis-php#158
Browse files Browse the repository at this point in the history
add UAT migration
  • Loading branch information
mohamednizar authored Jun 3, 2020
2 parents db4a206 + d38efa1 commit f5ab616
Showing 1 changed file with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

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

class AddSecurityTimeOutsOnSecirityUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('security_users', function (Blueprint $table) {
$table->dateTime('security_timeout')->nullable(true);
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('security_users', function (Blueprint $table) {
$table->dropColumn('security_timeout');
});
}
}

0 comments on commit f5ab616

Please sign in to comment.