From 83a17482f0629f2482d079a7aca5708a61f09e1f Mon Sep 17 00:00:00 2001 From: Matthias Barde Date: Fri, 22 Dec 2023 23:19:36 +0100 Subject: [PATCH] feat: nodes are sortable now (#11) --- schema.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema.sql b/schema.sql index 8317af5..9bed9ae 100644 --- a/schema.sql +++ b/schema.sql @@ -6,7 +6,8 @@ CREATE TABLE node ( protocol TEXT DEFAULT 0, pulselength TEXT DEFAULT 0, iterations INTEGER, - state BOOLEAN DEFAULT FALSE + state BOOLEAN DEFAULT FALSE, + sort_order INTEGER NOT NULL UNIQUE ); CREATE TABLE event (