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

Sync schema.rb and add pending migrations #2669

Open
MrSerth opened this issue Nov 19, 2024 · 0 comments
Open

Sync schema.rb and add pending migrations #2669

MrSerth opened this issue Nov 19, 2024 · 0 comments
Labels
bug ruby Pull requests that update Ruby code

Comments

@MrSerth
Copy link
Member

MrSerth commented Nov 19, 2024

There are two issues with the schema.rb we should resolve:

  1. The schema is currently based on the production setup. However, running rake db:migrate:reset will cause another schema. This should be fixed (maybe by fixing our production setup and adding further migrations, e.g., regarding varchar(255) vs varchar).
  2. With commit e210795, some changes were made to the schema that do not necessarily have a corresponding migration. Some parts were just caused by a different column order (based on the production schema), but it also introduced the code harbor_links.user_type column. This was caused by the previous migration AddUserToCodeHarborLink amended in commit 2118e61 without updating the schema correspondingly.
@MrSerth MrSerth added bug ruby Pull requests that update Ruby code labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ruby Pull requests that update Ruby code
Projects
None yet
Development

No branches or pull requests

1 participant