mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-29 10:24:38 +01: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:
commit
fa17989763
@ -1,2 +1,2 @@
|
|||||||
DROP DATABASE gogs;
|
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 utf8 COLLATE utf8_general_ci;
|
||||||
|
Loading…
Reference in New Issue
Block a user