Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Column Support #49

Open
clemens1483 opened this issue Nov 30, 2021 · 0 comments
Open

Virtual Column Support #49

clemens1483 opened this issue Nov 30, 2021 · 0 comments

Comments

@clemens1483
Copy link

Hi,

we have been using this gem for a while without issue. However, I have recently tried to add a virtual column

add_column, :blah, :bluh, :date, as: "DATE(bleh)"

When I ran the migration, the entire entry for the blah table was deleted from the schema file and replaced with a commented error message

 # Could not dump table "blah" because of following NoMethodError
  #   undefined method `quoted_scope' for #<FixDBSchemaConflicts::SchemaDumper::ConnectionWithSorting:0x00007fd79d256aa8>

VERSION: 3.1
RAILS: 6.1
MYSQL: 5.7.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant