Compare commits
2 Commits
e24eaa963d
...
2234ab2147
| Author | SHA1 | Date | |
|---|---|---|---|
| 2234ab2147 | |||
|
|
8d7a8d0fc7 |
@@ -8,8 +8,7 @@
|
|||||||
/**
|
/**
|
||||||
* Run the migrations.
|
* Run the migrations.
|
||||||
*/
|
*/
|
||||||
public function up()
|
public function up(): void
|
||||||
: void
|
|
||||||
{
|
{
|
||||||
Schema::create('branches', function (Blueprint $table) {
|
Schema::create('branches', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
@@ -31,9 +30,10 @@
|
|||||||
/**
|
/**
|
||||||
* Reverse the migrations.
|
* Reverse the migrations.
|
||||||
*/
|
*/
|
||||||
public function down()
|
public function down(): void
|
||||||
: void
|
|
||||||
{
|
{
|
||||||
|
Schema::disableForeignKeyConstraints();
|
||||||
Schema::dropIfExists('branches');
|
Schema::dropIfExists('branches');
|
||||||
|
Schema::enableForeignKeyConstraints();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ class BranchesSeeder extends Seeder
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'code' => 'ID0010031',
|
'code' => 'ID0010031',
|
||||||
'name' => 'BKR Bandung - KCP',
|
'name' => 'BKR BANDUNG - KCP',
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'created_at' => $now,
|
'created_at' => $now,
|
||||||
'updated_at' => $now
|
'updated_at' => $now
|
||||||
@@ -319,7 +319,7 @@ class BranchesSeeder extends Seeder
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'code' => 'ID0010063',
|
'code' => 'ID0010063',
|
||||||
'name' => 'Diponegoro Denpasar KK',
|
'name' => 'DIPONEGORO DENPASAR KK',
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'created_at' => $now,
|
'created_at' => $now,
|
||||||
'updated_at' => $now
|
'updated_at' => $now
|
||||||
@@ -704,7 +704,7 @@ class BranchesSeeder extends Seeder
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'code' => 'ID0010272',
|
'code' => 'ID0010272',
|
||||||
'name' => 'Setiabudi Kuningan KK',
|
'name' => 'SETIABUDI KUNINGAN KK',
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'created_at' => $now,
|
'created_at' => $now,
|
||||||
'updated_at' => $now
|
'updated_at' => $now
|
||||||
|
|||||||
Reference in New Issue
Block a user