Skip to content

rake db:setup fails on fresh database #65

@shuebner

Description

@shuebner

Hi all,
when I clone my rails project on another computer and try to run "rake db:setup" or "rake db:schema:load" or "rake db:migrate" on a fresh database I get the following error:

citier -> Root Class
citier -> table_name -> inquiries
citier -> Non Root Class
citier -> table_name -> boat_inquiries
citier -> tablename (view) -> view_boat_inquiries
rake aborted!
Mysql2::Error: Table 'db_21431895n1.inquiries' doesn't exist: SHOW FULL FIELDS FROM inquiries

The table 'inquiries' is the root table of a citier MTI.
It seems as if citier is examining the tables too early.

Thank you for your help.

If this has nothing to do with citier, I apologize for opening an issue.

Best regards
Sven

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