alter table plans
	drop constraint plans_created_by_fkey,
	add constraint plans_created_by_fkey
		foreign key (created_by)
		references users(id)
		on delete cascade;

alter table login_tokens
	drop constraint login_tokens_user_id_fkey,
	add constraint login_tokens_user_id_fkey
		foreign key (user_id)
		references users(id)
		on delete cascade;

alter table day_tiles
	drop constraint day_tiles_user_id_fkey,
	add constraint day_tiles_user_id_fkey
		foreign key (user_id)
		references users(id)
		on delete cascade;
