Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('testimonials', function (Blueprint $table) { |
||
17 | $table->id(); |
||
18 | $table->foreignId('country_id')->constrained(); |
||
19 | |||
20 | $table->string('name'); |
||
21 | $table->string('surname'); |
||
22 | $table->string('profession')->nullable(); |
||
23 | $table->text('feedback_short')->nullable(); |
||
24 | $table->text('feedback'); |
||
25 | $table->string('photo')->nullable(); |
||
26 | |||
27 | $table->boolean('personal_data_agreement'); |
||
28 | $table->boolean('publish_agreement'); |
||
29 | |||
30 | $table->string('slug'); |
||
31 | $table->timestamps(); |
||
32 | }); |
||
45 |