Use single quotes for better compatibility

This commit is contained in:
Dean Jackson 2019-09-22 19:15:04 +02:00
parent ddf7c37208
commit 988f2d6502

View file

@ -53,11 +53,11 @@ func OpenMySQLDatabase(connString string) (mysqlDB *MySQLDatabase, err error) {
id INT(11) NOT NULL AUTO_INCREMENT,
url TEXT NOT NULL,
title TEXT NOT NULL,
excerpt TEXT NOT NULL DEFAULT (""),
author TEXT NOT NULL DEFAULT (""),
excerpt TEXT NOT NULL DEFAULT (''),
author TEXT NOT NULL DEFAULT (''),
public BOOLEAN NOT NULL DEFAULT 0,
content MEDIUMTEXT NOT NULL DEFAULT (""),
html MEDIUMTEXT NOT NULL DEFAULT (""),
content MEDIUMTEXT NOT NULL DEFAULT (''),
html MEDIUMTEXT NOT NULL DEFAULT (''),
modified TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY(id),
UNIQUE KEY bookmark_url_UNIQUE (url(255)),