@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('promocodes', function (Blueprint $table) { |
|
| 15 | + Schema::create('promocodes', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('code', 32)->unique(); |
| 18 | 18 | $table->double('reward', 10, 2)->nullable(); |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $table->timestamp('expires_at')->nullable(); |
| 23 | 23 | }); |
| 24 | 24 | |
| 25 | - Schema::create('promocode_user', function (Blueprint $table) { |
|
| 25 | + Schema::create('promocode_user', function(Blueprint $table) { |
|
| 26 | 26 | $table->increments('id'); |
| 27 | 27 | $table->integer('user_id')->unsigned(); |
| 28 | 28 | $table->integer('promocode_id')->unsigned(); |