summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/repo.go2
-rw-r--r--scripts/mysql.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/models/repo.go b/models/repo.go
index 976dcabf59..e53d806576 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -402,7 +402,7 @@ func (repo *Repository) ComposePayload() *api.PayloadRepo {
cl := repo.CloneLink()
return &api.PayloadRepo{
ID: repo.ID,
- Name: repo.LowerName,
+ Name: repo.Name,
URL: repo.FullRepoLink(),
SSHURL: cl.SSH,
CloneURL: cl.HTTPS,
diff --git a/scripts/mysql.sql b/scripts/mysql.sql
index cacd76cf70..98e7bc3963 100644
--- a/scripts/mysql.sql
+++ b/scripts/mysql.sql
@@ -1,2 +1,2 @@
DROP DATABASE IF EXISTS gogs;
-CREATE DATABASE IF NOT EXISTS gogs CHARACTER SET utf8 COLLATE utf8_general_ci;
+CREATE DATABASE IF NOT EXISTS gogs CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;