Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Remove rocketfuel code, keep a small compatibility layer for the API (bug 1106586, bug 1058292) #2762

Merged
merged 1 commit into from
Dec 8, 2014

Conversation

from .managers import PublicCollectionsManager


class Collection(ModelBase):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're removing the model but I don't see a migration to remove any of the database contents or tables.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, forgot to do that. Added.

@robhudson
Copy link
Member

r+wc. I'd like to see the migration first.

@diox
Copy link
Member Author

diox commented Dec 2, 2014

Some interesting test failures, looking into them now.

@diox diox force-pushed the remove-rocketfuel branch 2 times, most recently from 7c83c7e to 0649803 Compare December 2, 2014 17:39
@diox
Copy link
Member Author

diox commented Dec 2, 2014

Fixed test failure, added migration and squashed commits.

@@ -0,0 +1,3 @@
DROP TABLE `app_collections_curators`;
DROP TABLE `app_collection_membership`;
DROP TABLE `app_collections`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to worry about the translations fields that are related here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it works, it'll just leave orphaned translations, but we should have something else to clean them up.

@robhudson
Copy link
Member

Looks good to me.

@diox diox force-pushed the remove-rocketfuel branch 2 times, most recently from 2a705d6 to 2c0379e Compare December 8, 2014 14:11
diox added a commit that referenced this pull request Dec 8, 2014
Remove rocketfuel code, keep a small compatibility layer for the API (bug 1106586, bug 1058292)
@diox diox merged commit 75eab04 into mozilla:master Dec 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants