Skip to content

Commit ed1b1f6

Browse files
authored
Merge pull request #2784 from pommetjehorlepiep/postgres-sha256
Fix: Semaphore sql tables can´t handle SHA256 commit hashes
2 parents 3f0cd52 + ae69ba5 commit ed1b1f6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

db/Migration.go

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func GetMigrations() []Migration {
8181
{Version: "2.12.3"},
8282
{Version: "2.12.4"},
8383
{Version: "2.12.5"},
84+
{Version: "2.12.15"},
8485
}
8586
}
8687

db/sql/migrations/v2.12.15.sql

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
alter table `project__schedule` change `last_commit_hash` `last_commit_hash` varchar(64);
2+
alter table `task` change `commit_hash` `commit_hash` varchar(64);

0 commit comments

Comments
 (0)