mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 05:44:50 +01:00
Add 'IF EXISTS', otherwise an error would show on MySQL that has no
'gogs' created before.
This commit is contained in:
parent
46af92c57e
commit
6ce8fa49ea
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue