-- +goose Up
CREATE TYPE fileupload.PoolCondition AS ENUM (
	'blue',
	'dry',
	'false pool',
	'unknown',
	'green',
	'murky'
);
ALTER TABLE fileupload.pool 
	ALTER COLUMN condition TYPE fileupload.poolcondition 
		USING condition::text::fileupload.poolcondition;

-- +goose Down
ALTER TABLE fileupload.pool 
	ALTER COLUMN condition TYPE public.poolconditiontype
		USING condition::text::poolconditiontype;
DROP TYPE fileupload.PoolCondition;
