mirror of
https://github.com/go-shiori/shiori.git
synced 2025-03-10 23:05:33 +08:00
Use single quotes for better compatibility
This commit is contained in:
parent
ddf7c37208
commit
988f2d6502
1 changed files with 4 additions and 4 deletions
|
@ -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)),
|
||||
|
|
Loading…
Reference in a new issue