@@ -24,11 +24,11 @@ |
||
| 24 | 24 | }); |
| 25 | 25 | |
| 26 | 26 | Schema::create('languages', function (Blueprint $table) { |
| 27 | - $table->engine = 'InnoDB'; |
|
| 27 | + $table->engine = 'InnoDB'; |
|
| 28 | 28 | $table->string('code')->unique(); |
| 29 | 29 | $table->primary('code'); |
| 30 | 30 | |
| 31 | - $table->integer('position')->nullable(); |
|
| 31 | + $table->integer('position')->nullable(); |
|
| 32 | 32 | $table->string('name', 50)->unique(); |
| 33 | 33 | |
| 34 | 34 | |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public function up() |
| 16 | 16 | { |
| 17 | - Schema::create('locales', function (Blueprint $table) { |
|
| 17 | + Schema::create('locales', function(Blueprint $table) { |
|
| 18 | 18 | $table->string('code')->unique(); |
| 19 | 19 | $table->primary('code'); |
| 20 | 20 | $table->string('lang_code')->nullable(); |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | $table->timestamps(); |
| 24 | 24 | }); |
| 25 | 25 | |
| 26 | - Schema::create('languages', function (Blueprint $table) { |
|
| 26 | + Schema::create('languages', function(Blueprint $table) { |
|
| 27 | 27 | $table->engine = 'InnoDB'; |
| 28 | 28 | $table->string('code')->unique(); |
| 29 | 29 | $table->primary('code'); |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | }); |
| 40 | 40 | |
| 41 | 41 | |
| 42 | - Schema::create('translations', function (Blueprint $table) { |
|
| 42 | + Schema::create('translations', function(Blueprint $table) { |
|
| 43 | 43 | $table->increments('id'); |
| 44 | 44 | $table->string('locale', 10); |
| 45 | 45 | $table->string('namespace')->default('*'); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | |
| 73 | 73 | |
| 74 | - Schema::create(config('app.db-prefix', '').'locations', function (Blueprint $table) { |
|
| 74 | + Schema::create(config('app.db-prefix', '').'locations', function(Blueprint $table) { |
|
| 75 | 75 | $table->increments('id'); |
| 76 | 76 | }); |
| 77 | 77 | |