mentors

mentors Commit Details


Date:2014-06-29 10:05:02 (10 years 5 months ago)
Author:Right Or Wrong
Branch:develop
Commit:2da52c5f2456822bd5ee425b316f31ea893c2e38
Parents: 49f6dcf042f7029f5f08ed668cbb71a1c5f78c40
Message:added a matches migration for a table

Changes:

File differences

app/database/migrations/2014_06_29_143038_create_mentor_mentee_match_table.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMentorMenteeMatchTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ment_matches', function(Blueprint $table)
{
$table->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');
}
}
vendor/autoload.php
44
55
66
7
7
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d::getLoader();
return ComposerAutoloaderInit388bc9429cea0a8e4d09dc1c56592c4a::getLoader();
vendor/composer/autoload_classmap.php
3232
3333
3434
35
3536
3637
3738
......
15231524
15241525
15251526
1526
15271527
15281528
15291529
'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',
'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',
vendor/composer/autoload_real.php
22
33
44
5
5
66
77
88
......
1919
2020
2121
22
22
2323
24
24
2525
2626
2727
......
4949
5050
5151
52
52
5353
5454
5555
5656
5757
5858
59
59
6060
6161
6262
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit69afc0859650b22d5bb9498e188d277d
class ComposerAutoloaderInit388bc9429cea0a8e4d09dc1c56592c4a
{
private static $loader;
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);
$includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) {
composerRequire69afc0859650b22d5bb9498e188d277d($file);
composerRequire388bc9429cea0a8e4d09dc1c56592c4a($file);
}
return $loader;
}
}
function composerRequire69afc0859650b22d5bb9498e188d277d($file)
function composerRequire388bc9429cea0a8e4d09dc1c56592c4a($file)
{
require $file;
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06587s using 13 queries.