diff --git a/system/dbupdate_3.3.php b/system/dbupdate_3.3.php
index df4a1e77e..7007a2de9 100644
--- a/system/dbupdate_3.3.php
+++ b/system/dbupdate_3.3.php
@@ -1648,6 +1648,19 @@ if($result = @$db->db_query("SELECT * FROM information_schema.role_table_grants
}
}
+// dauerampel fuer public.tbl_ampel
+if(!@$db->db_query("SELECT dauerampel FROM public.tbl_ampel LIMIT 1"))
+{
+ $qry = "ALTER TABLE public.tbl_ampel ADD COLUMN dauerampel boolean NOT NULL DEFAULT false;
+ COMMENT ON COLUMN public.tbl_ampel.dauerampel IS 'If true, the ampel is valid until benutzerselect condition no longer applies';
+ ";
+
+
+ if(!$db->db_query($qry))
+ echo 'App: '.$db->db_last_error().'
';
+ else
+ echo '
Neue Spalte dauerampel in public.tbl_ampel hinzugefügt';
+}
/**
* Kommentare fuer Datenbanktabellen