-- public.budgetdetails definition

-- Drop table
DROP TABLE public.budgetdetails;

CREATE TABLE public.budgetdetails (
	trxid uuid NOT NULL DEFAULT uuid_generate_v4(),
	trxdescription text NOT NULL,
	trxdate date NOT NULL,
	trxamount money NOT NULL,
	insertdttm timestamp NULL DEFAULT now(),
	CONSTRAINT budgetdetails_pkey PRIMARY KEY (trxid)
);

-- Permissions

ALTER TABLE public.budgetdetails OWNER TO acedanger;
GRANT ALL ON TABLE public.budgetdetails TO acedanger;
GRANT ALL ON TABLE public.budgetdetails TO budgetuser;