Page MenuHomeDevCentral

D188.diff
No OneTemporary

D188.diff

diff --git a/database/.gitignore b/database/.gitignore
deleted file mode 100644
--- a/database/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.sqlite
diff --git a/database/factories/ModelFactory.php b/database/factories/ModelFactory.php
deleted file mode 100644
--- a/database/factories/ModelFactory.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-/*
-|--------------------------------------------------------------------------
-| Model Factories
-|--------------------------------------------------------------------------
-|
-| Here you may define all of your model factories. Model factories give
-| you a convenient way to create models for testing and seeding your
-| database. Just tell the factory how a default model should look.
-|
-*/
-
-$factory->define(Nasqueron\Notifications\User::class, function (Faker\Generator $faker) {
- return [
- 'name' => $faker->name,
- 'email' => $faker->email,
- 'password' => bcrypt(str_random(10)),
- 'remember_token' => str_random(10),
- ];
-});
diff --git a/database/migrations/.gitkeep b/database/migrations/.gitkeep
deleted file mode 100644
diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php
deleted file mode 100644
--- a/database/migrations/2014_10_12_000000_create_users_table.php
+++ /dev/null
@@ -1,34 +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/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php
deleted file mode 100644
--- a/database/migrations/2014_10_12_100000_create_password_resets_table.php
+++ /dev/null
@@ -1,31 +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');
- }
-}
diff --git a/database/seeds/.gitkeep b/database/seeds/.gitkeep
deleted file mode 100644
diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php
deleted file mode 100644
--- a/database/seeds/DatabaseSeeder.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-use Illuminate\Database\Seeder;
-use Illuminate\Database\Eloquent\Model;
-
-class DatabaseSeeder extends Seeder
-{
- /**
- * Run the database seeds.
- *
- * @return void
- */
- public function run()
- {
- Model::unguard();
-
- // $this->call(UserTableSeeder::class);
-
- Model::reguard();
- }
-}

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 8, 18:01 (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2182101
Default Alt Text
D188.diff (3 KB)

Event Timeline