Commit 347d0dd1 authored by Nicolas Widart's avatar Nicolas Widart

Updating user module. Removing old migrations

parent 8d854e2d
...@@ -48,12 +48,12 @@ ...@@ -48,12 +48,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/AsgardCms/Core.git", "url": "https://github.com/AsgardCms/Core.git",
"reference": "cf982b6a37518b26b391bea8b49f9fcabf2437f5" "reference": "def14ec16a4c757b21733d0ec0697c6ba6d6ba75"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/AsgardCms/Core/zipball/cf982b6a37518b26b391bea8b49f9fcabf2437f5", "url": "https://api.github.com/repos/AsgardCms/Core/zipball/def14ec16a4c757b21733d0ec0697c6ba6d6ba75",
"reference": "cf982b6a37518b26b391bea8b49f9fcabf2437f5", "reference": "def14ec16a4c757b21733d0ec0697c6ba6d6ba75",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
"asgardcms", "asgardcms",
"core" "core"
], ],
"time": "2015-02-15 13:01:43" "time": "2015-02-15 19:17:30"
}, },
{ {
"name": "asgardcms/dashboard-module", "name": "asgardcms/dashboard-module",
...@@ -326,12 +326,12 @@ ...@@ -326,12 +326,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/AsgardCms/User.git", "url": "https://github.com/AsgardCms/User.git",
"reference": "10546c8828d14241132ee69f6c668d4d3478a897" "reference": "e9b95585b9610f0af3e7a8dfd481924ff7228cf4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/AsgardCms/User/zipball/10546c8828d14241132ee69f6c668d4d3478a897", "url": "https://api.github.com/repos/AsgardCms/User/zipball/e9b95585b9610f0af3e7a8dfd481924ff7228cf4",
"reference": "10546c8828d14241132ee69f6c668d4d3478a897", "reference": "e9b95585b9610f0af3e7a8dfd481924ff7228cf4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
"authorisation", "authorisation",
"user" "user"
], ],
"time": "2015-02-15 10:16:10" "time": "2015-02-15 19:32:20"
}, },
{ {
"name": "asgardcms/workshop-module", "name": "asgardcms/workshop-module",
...@@ -2209,12 +2209,12 @@ ...@@ -2209,12 +2209,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bobthecow/psysh.git", "url": "https://github.com/bobthecow/psysh.git",
"reference": "d5a831954cda802c9d264ab34598301e64494edf" "reference": "7fd995d8b781efb7ff2d10a7ccb1c6cd8f9d6d5f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/d5a831954cda802c9d264ab34598301e64494edf", "url": "https://api.github.com/repos/bobthecow/psysh/zipball/7fd995d8b781efb7ff2d10a7ccb1c6cd8f9d6d5f",
"reference": "d5a831954cda802c9d264ab34598301e64494edf", "reference": "7fd995d8b781efb7ff2d10a7ccb1c6cd8f9d6d5f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2271,7 +2271,7 @@ ...@@ -2271,7 +2271,7 @@
"interactive", "interactive",
"shell" "shell"
], ],
"time": "2015-02-15 18:17:11" "time": "2015-02-15 18:50:21"
}, },
{ {
"name": "react/promise", "name": "react/promise",
......
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->string('password', 60);
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePasswordResetsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('password_resets', function(Blueprint $table)
{
$table->string('email')->index();
$table->string('token')->index();
$table->timestamp('created_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('password_resets');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment