Merge pull request #152 from jcfrank/master

Add 'IF EXISTS', otherwise an error would show on MySQL that has no 'gogs' created before.
release/v1.15
无闻 2014-05-01 12:15:31 -04:00
commit fa17989763
1 changed files with 2 additions and 2 deletions

View File

@ -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;