Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function up() |
||
12 | { |
||
13 | Schema::create('users', function (Blueprint $table) { |
||
14 | $table->increments('id'); |
||
15 | $table->bigInteger('github_id')->nullable()->unique(); |
||
16 | $table->string('username')->nullable()->index('users_username'); |
||
17 | $table->string('name'); |
||
18 | $table->string('avatar')->nullable(); |
||
19 | $table->string('html_url')->nullable(); |
||
20 | $table->string('email')->nullable(); |
||
21 | $table->string('password')->nullable()->default('null'); |
||
22 | $table->string('remember_token', 100)->nullable(); |
||
23 | $table->string('bio')->nullable(); |
||
24 | $table->string('location')->nullable(); |
||
25 | $table->string('blog')->nullable(); |
||
26 | $table->date('since')->nullable(); |
||
27 | $table->string('token')->nullable(); |
||
28 | $table->integer('main_repository')->unsigned()->nullable(); |
||
29 | $table->string('position_held', 45)->nullable(); |
||
30 | $table->timestamps(); |
||
31 | }); |
||
32 | } |
||
33 | |||
42 |