Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('achievement_criterias', function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->unsignedInteger('achievement_id')->index(); |
||
19 | $table->string('type')->index(); |
||
20 | $table->string('name')->nullable(); |
||
21 | $table->unsignedInteger('max_value')->index(); |
||
22 | $table->text('requirements')->nullable(); |
||
23 | $table->timestamps(); |
||
24 | }); |
||
25 | } |
||
26 | |||
37 |