mirror of
https://gitee.com/gitea/gitea
synced 2026-01-06 07:35:47 +08:00
Merge pull request #152 from jcfrank/master
Add 'IF EXISTS', otherwise an error would show on MySQL that has no 'gogs' created before.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DROP DATABASE gogs;
|
||||
CREATE DATABASE IF NOT EXISTS gogs CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
DROP DATABASE IF EXISTS gogs;
|
||||
CREATE DATABASE IF NOT EXISTS gogs CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
|
||||
Reference in New Issue
Block a user