@@ -10,28 +10,28 @@ |
||
10 | 10 | * |
11 | 11 | * @return void |
12 | 12 | */ |
13 | - public function up() |
|
14 | - { |
|
15 | - Schema::create('anggarans', function(Blueprint $table) { |
|
16 | - $table->increments('id'); |
|
17 | - $table->integer('user_id'); |
|
18 | - $table->integer('group_egovernment_id'); |
|
19 | - $table->integer('sector_egovernment_id'); |
|
20 | - $table->string('label'); |
|
21 | - $table->string('description'); |
|
22 | - $table->string('link'); |
|
23 | - $table->timestamps(); |
|
24 | - $table->softDeletes(); |
|
25 | - }); |
|
26 | - } |
|
13 | + public function up() |
|
14 | + { |
|
15 | + Schema::create('anggarans', function(Blueprint $table) { |
|
16 | + $table->increments('id'); |
|
17 | + $table->integer('user_id'); |
|
18 | + $table->integer('group_egovernment_id'); |
|
19 | + $table->integer('sector_egovernment_id'); |
|
20 | + $table->string('label'); |
|
21 | + $table->string('description'); |
|
22 | + $table->string('link'); |
|
23 | + $table->timestamps(); |
|
24 | + $table->softDeletes(); |
|
25 | + }); |
|
26 | + } |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * Reverse the migrations. |
30 | 30 | * |
31 | 31 | * @return void |
32 | 32 | */ |
33 | - public function down() |
|
34 | - { |
|
35 | - Schema::drop('anggarans'); |
|
36 | - } |
|
33 | + public function down() |
|
34 | + { |
|
35 | + Schema::drop('anggarans'); |
|
36 | + } |
|
37 | 37 | } |
@@ -219,7 +219,7 @@ |
||
219 | 219 | 'link' => 'required', |
220 | 220 | ]); |
221 | 221 | |
222 | - if($validator->fails()){ |
|
222 | + if($validator->fails()){ |
|
223 | 223 | |
224 | 224 | foreach($validator->messages()->getMessages() as $key => $error){ |
225 | 225 | foreach($error AS $error_get) { |