From 3e9e660fbb2a42f81b0b03ddc75e44a77f7ff9f5 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 5 Jan 2021 18:00:12 +0000 Subject: [PATCH] --- server/AyaNova/util/AySchema.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/AyaNova/util/AySchema.cs b/server/AyaNova/util/AySchema.cs index 9bb462fc..7bbb3d34 100644 --- a/server/AyaNova/util/AySchema.cs +++ b/server/AyaNova/util/AySchema.cs @@ -681,8 +681,8 @@ $BODY$ LANGUAGE PLPGSQL STABLE"); //LOANUNIT await ExecQueryAsync("CREATE TABLE aloanunit (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name text not null unique, active bool, " + "notes text, wiki text, customfields text, tags varchar(255) ARRAY " + - "serial text, workorderitemloanid null references aworkorderitemloan(id), ratehour decimal(19,4) not null, " + - "ratehour decimal(19,4) not null, ratehour decimal(19,4) not null, ratehour decimal(19,4) not null, ratehour decimal(19,4) not null, ratehour decimal(19,4) not null," + "serial text, workorderitemloanid null references aworkorderitemloan(id), " + + "ratehour decimal(19,4) not null, ratehalfday decimal(19,4) not null, rateday decimal(19,4) not null, rateweek decimal(19,4) not null, ratemonth decimal(19,4) not null, rateyear decimal(19,4) not null " + ")"); await ExecQueryAsync("CREATE UNIQUE INDEX aloanunit_name_id_idx ON aloanunit (id, name);");