From 88bc4bbb1dfb42e6e348962b365efad653d75c4f Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Nov 28 2021 05:56:25 +0000 Subject: fixed spec and sql schema --- diff --git a/lapis-server.spec b/lapis-server.spec index 8a45585..2f8a067 100644 --- a/lapis-server.spec +++ b/lapis-server.spec @@ -63,7 +63,7 @@ EOF %{_bindir}/lapis-server %{python3_sitelib}/lapis/ %{_localstatedir}/www/lapis/lapis.wsgi -%{buildroot}%{_sysconfdir}/httpd/conf.d/lapis.conf +%{_sysconfdir}/httpd/conf.d/lapis.conf %changelog * Fri Nov 26 2021 Cappy Ishihara - 0.1.2-1.um35 - Added Apache configuration diff --git a/lapis/asset/schema.sql b/lapis/asset/schema.sql index 030183e..64ebb7b 100644 --- a/lapis/asset/schema.sql +++ b/lapis/asset/schema.sql @@ -68,7 +68,7 @@ CREATE TABLE IF NOT EXISTS tasks ( type VARCHAR(255) NOT NULL, -- build_id is the id of the build that this task is for build_id INTEGER NOT NULL, - FOREIGN KEY (build_id) REFERENCES builds(id), + -- FOREIGN KEY (build_id) REFERENCES builds(id), -- status can have the following values: -- pending: the task is waiting to be picked up by a worker -- running: the task is currently being processed by a worker