forked from OpenDominion/OpenDominion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into round-14
# Conflicts: # CHANGELOG.md
- Loading branch information
Showing
17 changed files
with
1,027 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
.../migrations/2019_06_24_192144_remove_info_ops_source_realm_target_dominion_constraint.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
use Illuminate\Database\Migrations\Migration; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Support\Facades\Schema; | ||
|
||
class RemoveInfoOpsSourceRealmTargetDominionConstraint extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up(): void | ||
{ | ||
Schema::table('info_ops', static function (Blueprint $table) { | ||
$table->boolean('latest') | ||
->after('data') | ||
->default(true); | ||
|
||
$table->index(['source_realm_id']); | ||
$table->index(['target_dominion_id']); | ||
$table->dropUnique(['source_realm_id', 'target_dominion_id', 'type']); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down(): void | ||
{ | ||
Schema::table('info_ops', static function (Blueprint $table) { | ||
$table->dropColumn(['latest']); | ||
|
||
$table->unique(['source_realm_id', 'target_dominion_id', 'type']); | ||
$table->dropIndex(['source_realm_id']); | ||
$table->dropIndex(['target_dominion_id']); | ||
}); | ||
} | ||
} |
727 changes: 727 additions & 0 deletions
727
app/resources/views/pages/dominion/op-center/archive.blade.php
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.