dbupdate habilitation: added file to dbupdate3.4, code formatting

This commit is contained in:
KarpAlex
2023-11-15 20:51:44 +01:00
parent 3a8216577f
commit cf85cb084f
2 changed files with 2 additions and 2 deletions
@@ -5,8 +5,7 @@ if (! defined('DB_NAME')) exit('No direct script access allowed');
if(!@$db->db_query("SELECT habilitation FROM public.tbl_mitarbeiter LIMIT 1"))
{
$qry = "ALTER TABLE public.tbl_mitarbeiter ADD COLUMN habilitation boolean NOT NULL DEFAULT false;
COMMENT ON COLUMN public.tbl_mitarbeiter.habilitation IS 'Zeigt an, ob Mitarbeiter habilitiert ist (BIS relevant).';
";
COMMENT ON COLUMN public.tbl_mitarbeiter.habilitation IS 'Zeigt an, ob Mitarbeiter habilitiert ist (BIS relevant).';";
if(!$db->db_query($qry))
echo '<strong>public.tbl_mitarbeiter '.$db->db_last_error().'</strong><br>';