Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('teachers', function (Blueprint $table) { |
||
17 | $table->id(); |
||
18 | $table->foreignId('user_id')->constrained(); |
||
19 | $table->foreignId('country_id')->constrained(); |
||
20 | |||
21 | $table->string('name'); |
||
22 | $table->string('surname'); |
||
23 | |||
24 | $table->text('bio')->nullable(); |
||
25 | $table->string('year_starting_practice')->nullable(); |
||
26 | $table->string('year_starting_teach')->nullable(); |
||
27 | $table->text('significant_teachers')->nullable(); |
||
28 | |||
29 | //$table->string('profile_picture')->nullable(); |
||
30 | $table->string('website')->nullable(); |
||
31 | $table->string('facebook')->nullable(); |
||
32 | |||
33 | $table->string('slug'); |
||
34 | |||
35 | $table->timestamps(); |
||
36 | }); |
||
49 |