• Yorick Peterse's avatar
    Use rake db:reset instead of db:setup · a54af831
    Yorick Peterse authored
    Using db:reset ensures existing tables are first dropped. This in turn
    ensures that we can drop tables regardless of any foreign key
    constraints. While CE currently doesn't have any foreign keys EE defines
    the following relation:
    
        remote_mirrors.project_id -> projects.id
    
    MySQL will complain whenever you try to drop the "projects" table first
    even when using "DROP TABLE ... CASCADE".
    a54af831
setup 805 Bytes