/**
 * @author Emmanuel BONNEAU
 * @date 23/02/21
 * @version 1.0.0
 * @project SIEau
 * @table public.mat_batteries
 */

# --- !Ups

ALTER TABLE public.mat_batteries DROP dateretrait CASCADE;
ALTER TABLE public.mat_batteries DROP dateexpirationgarantie CASCADE;
ALTER TABLE public.mat_batteries ADD dureegarantie integer;


# --- !Downs

ALTER TABLE public.mat_batteries ADD dateretrait timestamp with time zone null;
ALTER TABLE public.mat_batteries DROP dureegarantie;
ALTER TABLE public.mat_batteries ADD dateexpirationgarantie timestamp without time zone null;
