Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up interests #338

Open
mpetitdant opened this issue Feb 19, 2015 · 3 comments
Open

Clean up interests #338

mpetitdant opened this issue Feb 19, 2015 · 3 comments
Assignees
Milestone

Comments

@mpetitdant
Copy link

Some interests are not used : run a script to delete them.
i.e. 'Wil', 'We', ...

@mpetitdant mpetitdant added this to the ASAP milestone Mar 19, 2015
@mpetitdant
Copy link
Author

@clacote : do validate this script for execution on production :
delete from interest
where id not in (select distinct interests_id from member_interest)
and id not in (select distinct interests_id from session_interest)

@clacote
Copy link

clacote commented Apr 1, 2015

Why take any risk now? That could be done after mixit15, no?

@mpetitdant mpetitdant assigned mpetitdant and unassigned clacote Apr 1, 2015
@mpetitdant mpetitdant modified the milestones: 2016, ASAP Apr 1, 2015
@mpetitdant
Copy link
Author

Well if I mess up the FK will avoid the deletion. But ok for 2016

On Wed, Apr 1, 2015 at 9:49 PM, Cyril Lacôte [email protected]
wrote:

Why take any risk now? That could be done after mixit15, no?


Reply to this email directly or view it on GitHub
#338 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants