Quellcode durchsuchen

Add 'IF EXISTS', otherwise an error would show on MySQL that has no

'gogs' created before.
tags/v0.9.99
Chen Chao Shih vor 10 Jahren
Ursprung
Commit
6ce8fa49ea
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      conf/mysql.sql

+ 2
- 2
conf/mysql.sql Datei anzeigen

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

Laden…
Abbrechen
Speichern