CREATE VIEW api.follow AS
	SELECT
		f.id,
		f.follower_id,
		f.followee_id,
		f.value,
		f.created,
		f.modified
	FROM
		xssbook.follow f;

GRANT SELECT ON TABLE api.follow
	TO rest_anon, rest_user;
GRANT SELECT ON TABLE xssbook.follow
	TO rest_anon, rest_user;
