[2/4] Fix quote for Source column default

Message ID 20170301064621.19031-2-mark.weiman@markzz.com
State Accepted, archived
Headers show
Series
  • [1/4] Add sqlite3 schema for testing databases
Related show

Commit Message

Mark Weiman March 1, 2017, 6:46 a.m. UTC
Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
---
 schema/aur-schema.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/schema/aur-schema.sql b/schema/aur-schema.sql
index b75a257..9b4e1d2 100644
--- a/schema/aur-schema.sql
+++ b/schema/aur-schema.sql
@@ -230,7 +230,7 @@  CREATE INDEX RelationsRelName ON PackageRelations (RelName);
 --
 CREATE TABLE PackageSources (
 	PackageID INTEGER UNSIGNED NOT NULL,
-	Source VARCHAR(8000) NOT NULL DEFAULT "/dev/null",
+	Source VARCHAR(8000) NOT NULL DEFAULT '/dev/null',
 	SourceArch VARCHAR(255) NULL DEFAULT NULL,
 	FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
 ) ENGINE = InnoDB;