updated session task to run through migration system.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php namespace Laravel\CLI\Tasks;
|
||||
<?php namespace Laravel\CLI\Tasks\Session;
|
||||
|
||||
use Laravel\File;
|
||||
use Laravel\Config;
|
||||
use Laravel\Database\Schema;
|
||||
use Laravel\Session\Drivers\Sweeper;
|
||||
|
||||
class Session extends Task {
|
||||
class Manager extends Task {
|
||||
|
||||
/**
|
||||
* Generate the session table on the database.
|
||||
@@ -19,7 +19,7 @@ class Session extends Task {
|
||||
{
|
||||
$table->create();
|
||||
|
||||
// The session table consists simply of a ID, a UNIX timestamp to
|
||||
// The session table consists simply of an ID, a UNIX timestamp to
|
||||
// indicate the expiration time, and a blob field which will hold
|
||||
// the serialized form of the session payload.
|
||||
$table->string('id')->length(40)->primary('session_primary');
|
||||
|
||||
Reference in New Issue
Block a user