Selaa lähdekoodia

Merge pull request #152 from jcfrank/master

Add 'IF EXISTS', otherwise an error would show on MySQL that has no 'gogs' created before.
无闻 11 vuotta sitten
vanhempi
commit
fa17989763
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      conf/mysql.sql

+ 2 - 2
conf/mysql.sql

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