| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | public function up()  | 
            ||
| 14 |     { | 
            ||
| 15 |         Schema::create('setting__setting_translations', function (Blueprint $table) { | 
            ||
| 16 | $table->engine = 'InnoDB';  | 
            ||
| 17 |             $table->increments('id'); | 
            ||
| 18 |             $table->integer('setting_id')->unsigned(); | 
            ||
| 19 |             $table->string('locale')->index(); | 
            ||
| 20 |             $table->string('value'); | 
            ||
| 21 |             $table->text('description')->nullable(); | 
            ||
| 22 | $table->unique(['setting_id', 'locale']);  | 
            ||
| 23 |             $table->foreign('setting_id')->references('id')->on('setting__settings')->onDelete('cascade'); | 
            ||
| 24 | });  | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 37 |