IO-2484 Next Service KMs

Allow null and only display warning if not null and current milage is greater than service KMs
This commit is contained in:
Allan Carr
2023-11-29 17:32:09 -08:00
parent 6570d38719
commit dfd8845864
3 changed files with 5 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
alter table "public"."courtesycars" alter column "nextservicekm" set not null;
alter table "public"."courtesycars" alter column "nextservicekm" set default '0';

View File

@@ -0,0 +1,2 @@
ALTER TABLE "public"."courtesycars" ALTER COLUMN "nextservicekm" drop default;
alter table "public"."courtesycars" alter column "nextservicekm" drop not null;