ALTER TABLE project DROP COLUMN token RESTRICT;
ALTER TABLE project DROP COLUMN notify RESTRICT;

CREATE TABLE notification(
	openaire_id	VARCHAR(60)		NOT NULL,
	user_email	VARCHAR(256)	NOT NULL,
	frequency	INT				NOT NULL,
	notify		BOOLEAN			DEFAULT TRUE,
	last_interaction_date TIMESTAMP WITHOUT TIME ZONE,
	PRIMARY KEY(openaire_id, user_email)
);
