Skip to content

Commit 111f748

Browse files
Merge remote-tracking branch 'origin/develop' into HEAD
2 parents 62ba312 + 9967e26 commit 111f748

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"Gmail"
114114
],
115115
"processmaker": {
116-
"build": "85b8ed43",
116+
"build": "871804b1",
117117
"cicd-enabled": true,
118118
"custom": {
119119
"package-ellucian-ethos": "1.19.10",

database/migrations/2026_04_16_000000_add_updated_by_to_process_templates_table.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
return new class extends Migration {
99
public function up()
1010
{
11-
Schema::table('process_templates', function (Blueprint $table) {
12-
$table->unsignedInteger('updated_by')->nullable()->after('user_id');
13-
$table->foreign('updated_by')->references('id')->on('users')->onDelete('set null');
14-
});
11+
if (!Schema::hasColumn('process_templates', 'updated_by')) {
12+
Schema::table('process_templates', function (Blueprint $table) {
13+
$table->unsignedInteger('updated_by')->nullable()->after('user_id');
14+
});
15+
}
1516

1617
// Seed updated_by with the existing user_id value
1718
DB::table('process_templates')->update([
@@ -22,7 +23,6 @@ public function up()
2223
public function down()
2324
{
2425
Schema::table('process_templates', function (Blueprint $table) {
25-
$table->dropForeign(['updated_by']);
2626
$table->dropColumn('updated_by');
2727
});
2828
}

0 commit comments

Comments
 (0)