guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Add missing Jobs primary key.


From: Mathieu Othacehe
Subject: branch master updated: Add missing Jobs primary key.
Date: Fri, 09 Apr 2021 04:15:56 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix-cuirass.

The following commit(s) were added to refs/heads/master by this push:
     new 3dc6cf7  Add missing Jobs primary key.
3dc6cf7 is described below

commit 3dc6cf78b2957c810149cca72a82eb1b1f79359d
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Apr 9 10:15:30 2021 +0200

    Add missing Jobs primary key.
    
    * src/sql/upgrade-5.sql: New file.
    * Makefile.am (dist_sql_DATA): Add it.
---
 Makefile.am           | 3 ++-
 src/sql/upgrade-5.sql | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index dfab623..84c799c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -91,7 +91,8 @@ dist_sql_DATA =                               \
   src/sql/upgrade-1.sql                                \
   src/sql/upgrade-2.sql                                \
   src/sql/upgrade-3.sql                                \
-  src/sql/upgrade-4.sql
+  src/sql/upgrade-4.sql                                \
+  src/sql/upgrade-5.sql
 
 dist_css_DATA =                                        \
   src/static/css/choices.min.css               \
diff --git a/src/sql/upgrade-5.sql b/src/sql/upgrade-5.sql
new file mode 100644
index 0000000..cddeeb3
--- /dev/null
+++ b/src/sql/upgrade-5.sql
@@ -0,0 +1,5 @@
+BEGIN TRANSACTION;
+
+ALTER TABLE Jobs ADD PRIMARY KEY (evaluation, build);
+
+COMMIT;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]