Skip to content

Be careful with syncdb #2

@danfairs

Description

@danfairs

The ensure_partition command invokes syncdb directly to create its tables. This can unexpectedly sync other tables from other apps to the database if they're not already there - including those which have South migrations (as we're using Django's syncdb, not South's). We need to find some way to just sync our own models, possibly by pulling the relevant bits out of syncdb rather than just blindly running it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions