| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 14 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 16 | public function up() | ||
| 17 |     { | ||
| 18 |         Schema::create('lgp_dict', function(Blueprint $table) { | ||
| 19 | $table->id(); | ||
| 20 |             $table->string('name'); | ||
| 21 |             $table->string('type')->default('select'); | ||
| 22 | $table->timestamps(); | ||
| 23 | }); | ||
| 24 |         Schema::create('lgp_dict_option', function(Blueprint $table) { | ||
| 25 | $table->id(); | ||
| 26 |             $table->string('name'); | ||
| 27 |             $table->text('json')->nullable(); | ||
| 28 |             $table->integer('dict_id')->references('id')->on('lgp_dict'); | ||
| 29 | $table->timestamps(); | ||
| 30 | }); | ||
| 44 |