Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('configuration_fields', function (Blueprint $table) { |
||
17 | $table->id(); |
||
18 | $table->string('name'); |
||
19 | $table->unsignedBigInteger('category_id'); |
||
20 | $table->string('type'); |
||
21 | $table->timestamps(); |
||
22 | |||
23 | //fk |
||
24 | $table->foreign('category_id')->references('id')->on('categories'); |
||
25 | }); |
||
38 |