Add post_migrate to remove invalid record
We remove any gitlab_subscription_histories records that does not have namespace_id EE: true Changelog: other
显示
- db/post_migrate/20240617114649_remove_subscription_history_with_null_namespace_id.rb 26 个添加, 0 个删除...649_remove_subscription_history_with_null_namespace_id.rb
- db/schema_migrations/20240617114649 1 个添加, 0 个删除db/schema_migrations/20240617114649
- ee/app/models/gitlab_subscription_history.rb 1 个添加, 0 个删除ee/app/models/gitlab_subscription_history.rb
- ee/spec/models/gitlab_subscription_history_spec.rb 13 个添加, 2 个删除ee/spec/models/gitlab_subscription_history_spec.rb
- spec/migrations/db/post_migrate/20240617114649_remove_subscription_history_with_null_namespace_id_spec.rb 38 个添加, 0 个删除...emove_subscription_history_with_null_namespace_id_spec.rb
加载中
想要评论请 注册 或 登录