ALTER TABLE public."EntityDoi"
    RENAME "ID" TO id;
	
ALTER TABLE public."EntityDoi"
    RENAME "EntityType" TO entity_type;
	
ALTER TABLE public."EntityDoi"
    RENAME "RepositoryId" TO repository_id;
	
ALTER TABLE public."EntityDoi"
    RENAME "Doi" TO doi;
	
ALTER TABLE public."EntityDoi"
    RENAME "CreatedAt" TO created_at;
	
ALTER TABLE public."EntityDoi"
    RENAME "UpdatedAt" TO updated_at;

ALTER TABLE public."EntityDoi"
    RENAME "EntityId" TO entity_id;
	
ALTER TABLE public."EntityDoi"
    ADD COLUMN is_active smallint NOT NULL DEFAULT 1