@@ -6,13 +6,13 @@ discard block |
||
6 | 6 | |
7 | 7 | class CreateFirewallTable extends Migration { |
8 | 8 | |
9 | - /** |
|
10 | - * Run the migration. |
|
11 | - * |
|
12 | - * @return void |
|
13 | - */ |
|
14 | - public function up() |
|
15 | - { |
|
9 | + /** |
|
10 | + * Run the migration. |
|
11 | + * |
|
12 | + * @return void |
|
13 | + */ |
|
14 | + public function up() |
|
15 | + { |
|
16 | 16 | Schema::create('firewall', function (Blueprint $table) { |
17 | 17 | $table->increments('id'); |
18 | 18 | |
@@ -22,16 +22,16 @@ discard block |
||
22 | 22 | |
23 | 23 | $table->timestamps(); |
24 | 24 | }); |
25 | - } |
|
26 | - |
|
27 | - /** |
|
28 | - * Reverse the migration. |
|
29 | - * |
|
30 | - * @return void |
|
31 | - */ |
|
32 | - public function down() |
|
33 | - { |
|
25 | + } |
|
26 | + |
|
27 | + /** |
|
28 | + * Reverse the migration. |
|
29 | + * |
|
30 | + * @return void |
|
31 | + */ |
|
32 | + public function down() |
|
33 | + { |
|
34 | 34 | Schema::dropIfExists('firewall'); |
35 | - } |
|
35 | + } |
|
36 | 36 | |
37 | 37 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('firewall', function (Blueprint $table) { |
|
16 | + Schema::create('firewall', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | |
19 | 19 | $table->string('ip_address', 39)->unique()->index(); |