3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/sourcehut/pages-fix-syntax-error-in-schema.sql.patch
2021-12-28 22:18:16 -05:00

28 lines
661 B
Diff

From 3df160ad289b25574322f587095d00d6641f057c Mon Sep 17 00:00:00 2001
From: Juan Picca <juan.picca@jumapico.uy>
Date: Wed, 21 Jul 2021 08:26:56 -0300
Subject: [PATCH] Fix syntax error in schema.sql
---
schema.sql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/schema.sql b/schema.sql
index 168377f..2e473ea 100644
--- a/schema.sql
+++ b/schema.sql
@@ -28,8 +28,8 @@ CREATE TABLE sites (
user_id integer NOT NULL references "user"(id),
domain varchar NOT NULL,
protocol protocol NOT NULL,
- version varchar NOT NULL
- UNIQUE (domain, protocol),
+ version varchar NOT NULL,
+ UNIQUE (domain, protocol)
);
COMMIT;
--
2.32.0