Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Current db/schema.rb broken? #636

Closed
Closed
@orenyk

Description

@orenyk

In the current development branch, the db/schema.rb file seems to be broken. Steps to reproduce:

  1. git checkout development
  2. git checkout db/schema.rb
  3. rake db:reset (I've tested this and it's happening during the db:schema:load stage of db:reset; first it drops the database (see here))

The error I'm getting is

Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(255), `max_renewal_times` int(11), `max_renewal_length` int(11), `renewal_days_' at line 1

rake db:migrate:reset works fine but gives a modified db/schema.rb file; it seems like we have some tab differences but also a :limit => 255 in some tables for deleted_at. Not sure where that's coming from, but that seems to be the culprit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions