@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create(config('promocodes.table', 'promocodes'), function (Blueprint $table) { |
|
15 | + Schema::create(config('promocodes.table', 'promocodes'), function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | |
18 | 18 | $table->string('code', 32)->unique(); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | $table->timestamp('expires_at')->nullable(); |
25 | 25 | }); |
26 | 26 | |
27 | - Schema::create(config('promocodes.relation_table', 'promocode_user'), function (Blueprint $table) { |
|
27 | + Schema::create(config('promocodes.relation_table', 'promocode_user'), function(Blueprint $table) { |
|
28 | 28 | $table->unsignedInteger('user_id'); |
29 | 29 | $table->unsignedInteger('promocode_id'); |
30 | 30 |