diff --git a/app/database/migrations/2014_06_29_143038_create_mentor_mentee_match_table.php b/app/database/migrations/2014_06_29_143038_create_mentor_mentee_match_table.php new file mode 100644 index 0000000..8cb2b5b --- /dev/null +++ b/app/database/migrations/2014_06_29_143038_create_mentor_mentee_match_table.php @@ -0,0 +1,39 @@ +increments('id'); + $table->integer('mentor_id')->unsigned(); + $table->foreign('mentor_id')->references('id')->on('users') + ->onUpdate('cascade')->onDelete('cascade'); + $table->integer('mentee_id')->unsigned(); + $table->foreign('mentee_id')->references('id')->on('users') + ->onUpdate('cascade')->onDelete('cascade'); + $table->string('status', 32); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop('ment_matches'); + } + +} diff --git a/vendor/autoload.php b/vendor/autoload.php index 66d1532..a0296ed 100755 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer' . '/autoload_real.php'; -return ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d::getLoader(); +return ComposerAutoloaderInit388bc9429cea0a8e4d09dc1c56592c4a::getLoader(); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 23519a4..a884f0a 100755 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -32,6 +32,7 @@ return array( 'ClassPreloader\\Parser\\NodeTraverser' => $vendorDir . '/classpreloader/classpreloader/src/ClassPreloader/Parser/NodeTraverser.php', 'CreateMcRoleTable' => $baseDir . '/app/database/migrations/2014_06_26_235750_create_mc_role_table.php', 'CreateMcUserTable' => $baseDir . '/app/database/migrations/2014_06_26_234302_create_mc_user_table.php', + 'CreateMentorMenteeMatchTable' => $baseDir . '/app/database/migrations/2014_06_29_143038_create_mentor_mentee_match_table.php', 'CreatePasswordRemindersTable' => $baseDir . '/app/database/migrations/2014_06_27_002502_create_password_reminders_table.php', 'CreateUserXrefRoleTable' => $baseDir . '/app/database/migrations/2014_06_27_003343_create_user_xref_role_table.php', 'Crypt_AES' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/AES.php', @@ -1523,7 +1524,6 @@ return array( 'TestCase' => $baseDir . '/app/tests/TestCase.php', 'User' => $baseDir . '/app/models/User.php', 'UserController' => $baseDir . '/app/controllers/UserController.php', - 'UserTableSeeder' => $baseDir . '/app/database/seeds/UserTableSeeder.php', 'UserXrefROle' => $baseDir . '/app/models/UserXrefRole.php', 'Whoops\\Exception\\ErrorException' => $vendorDir . '/filp/whoops/src/Whoops/Exception/ErrorException.php', 'Whoops\\Exception\\Frame' => $vendorDir . '/filp/whoops/src/Whoops/Exception/Frame.php', diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index fb801f8..75b6ed8 100755 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d +class ComposerAutoloaderInit388bc9429cea0a8e4d09dc1c56592c4a { private static $loader; @@ -19,9 +19,9 @@ class ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit388bc9429cea0a8e4d09dc1c56592c4a', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit388bc9429cea0a8e4d09dc1c56592c4a', 'loadClassLoader')); $vendorDir = dirname(__DIR__); $baseDir = dirname($vendorDir); @@ -49,14 +49,14 @@ class ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d $includeFiles = require __DIR__ . '/autoload_files.php'; foreach ($includeFiles as $file) { - composerRequire69afc0859650b22d5bb9498e188d277d($file); + composerRequire388bc9429cea0a8e4d09dc1c56592c4a($file); } return $loader; } } -function composerRequire69afc0859650b22d5bb9498e188d277d($file) +function composerRequire388bc9429cea0a8e4d09dc1c56592c4a($file) { require $file; }