aboutsummaryrefslogtreecommitdiff
path: root/backyard/php-api/trunk/database/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'backyard/php-api/trunk/database/migrations')
-rw-r--r--backyard/php-api/trunk/database/migrations/.gitkeep0
-rw-r--r--backyard/php-api/trunk/database/migrations/2014_10_12_000000_create_users_table.php36
-rw-r--r--backyard/php-api/trunk/database/migrations/2014_10_12_100000_create_password_resets_table.php33
3 files changed, 0 insertions, 69 deletions
diff --git a/backyard/php-api/trunk/database/migrations/.gitkeep b/backyard/php-api/trunk/database/migrations/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/backyard/php-api/trunk/database/migrations/.gitkeep
+++ /dev/null
diff --git a/backyard/php-api/trunk/database/migrations/2014_10_12_000000_create_users_table.php b/backyard/php-api/trunk/database/migrations/2014_10_12_000000_create_users_table.php
deleted file mode 100644
index 36a1db9..0000000
--- a/backyard/php-api/trunk/database/migrations/2014_10_12_000000_create_users_table.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?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');
- }
-
-}
diff --git a/backyard/php-api/trunk/database/migrations/2014_10_12_100000_create_password_resets_table.php b/backyard/php-api/trunk/database/migrations/2014_10_12_100000_create_password_resets_table.php
deleted file mode 100644
index 679df38..0000000
--- a/backyard/php-api/trunk/database/migrations/2014_10_12_100000_create_password_resets_table.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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');
- }
-
-}