Open
Description
There are two issues with the schema.rb we should resolve:
- 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., regardingvarchar(255)
vsvarchar
). - 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 migrationAddUserToCodeHarborLink
amended in commit 2118e61 without updating the schema correspondingly.