From 9efff83186305606e7c52ba9ec932389ff7cd26f Mon Sep 17 00:00:00 2001 From: Joachim Meyer Date: Thu, 5 Jun 2025 11:55:03 -0600 Subject: [PATCH] Tables - Instruments - Remove null constraint on relationship Remving the requirement for an instrument with layers as we not always will have that information. For instance with temperatures or densities. --- snowexsql/tables/instrument.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowexsql/tables/instrument.py b/snowexsql/tables/instrument.py index 321b7727..3435ebaa 100644 --- a/snowexsql/tables/instrument.py +++ b/snowexsql/tables/instrument.py @@ -22,7 +22,7 @@ def instrument_id(cls): return Column( Integer, ForeignKey('public.instruments.id'), - index=True, nullable=False + index=True, nullable=True ) @declared_attr