Skip to content

Error during migration #50

@tsaoyu

Description

@tsaoyu

@takluyver I saw some changes from last year in db/migration.

The migration file https://github.com/WRSC/tracking/blob/master/MYR_rails/db/migrate/201809122145_change_string_to_datetime.rb and https://github.com/WRSC/tracking/blob/master/MYR_rails/db/migrate/201809122251_change_coordinate_data_to_float.rb cause some error when I try to setup a server for this year's competition.

Could not find table 'coordinates'
/root/tracking/MYR_rails/db/migrate/201809122145_change_string_to_datetime.rb:3:in `up'
/root/.rbenv/versions/2.5.1/bin/bundle:23:in `load'
/root/.rbenv/versions/2.5.1/bin/bundle:23:in `<main>'

Caused by:
ActiveRecord::StatementInvalid: Could not find table 'coordinates'
/root/tracking/MYR_rails/db/migrate/201809122145_change_string_to_datetime.rb:3:in `up'
/root/.rbenv/versions/2.5.1/bin/bundle:23:in `load'
/root/.rbenv/versions/2.5.1/bin/bundle:23:in `<main>'
Tasks: TOP => db:migrate

Do you still remember what those migrations do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions