From f5c37241ad5110e1522c27f3feaa7f05b739dd4f Mon Sep 17 00:00:00 2001 From: laurimaaninka Date: Sat, 30 May 2026 01:43:27 +0300 Subject: [PATCH] =?UTF-8?q?#27=20Lis=C3=A4tty=20oletusarvo=20kuljetustyypi?= =?UTF-8?q?lle=20tietokannan=20p=C3=A4ivityst=C3=A4=20varten?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: laurimaaninka --- src/main/resources/tietokanta.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/tietokanta.sql b/src/main/resources/tietokanta.sql index 6109163..83213c9 100644 --- a/src/main/resources/tietokanta.sql +++ b/src/main/resources/tietokanta.sql @@ -47,7 +47,7 @@ alter table asiakkaat add lauantaiKpl int not null default 0; alter table asiakkaat add sunnuntaiKpl int not null default 0; --3.x.x->4.0.0 -alter table kuljetukset add tyyppi varchar(50); +alter table kuljetukset add tyyppi varchar(50) not null default 'Lounas'; alter table asiakkaat add dinner_maanantaiKpl int not null default 0; alter table asiakkaat add dinner_tiistaiKpl int not null default 0; alter table asiakkaat add dinner_keskiviikkoKpl int not null default 0;