-
- Downloads
Add new ExperimentSubject model & DB migrations
Adds a new model & database table for ExperimentSubject. An ExperimentSubject can be a User, Group, or Project (or any combination of those three). This change prepares the way for us to run a much broader range of experiments.
parent
c846230e
No related branches found
No related tags found
Showing
- app/models/experiment.rb 1 addition, 0 deletionsapp/models/experiment.rb
- app/models/experiment_subject.rb 24 additions, 0 deletionsapp/models/experiment_subject.rb
- changelogs/unreleased/250800-create-new-experimentsubject-model-with-user_id-namespace_id-or-pr.yml 5 additions, 0 deletions...perimentsubject-model-with-user_id-namespace_id-or-pr.yml
- db/migrate/20201110221400_create_experiment_subjects.rb 26 additions, 0 deletionsdb/migrate/20201110221400_create_experiment_subjects.rb
- db/schema_migrations/20201110221400 1 addition, 0 deletionsdb/schema_migrations/20201110221400
- db/structure.sql 46 additions, 0 deletionsdb/structure.sql
- locale/gitlab.pot 3 additions, 0 deletionslocale/gitlab.pot
- spec/factories/experiment_subjects.rb 9 additions, 0 deletionsspec/factories/experiment_subjects.rb
- spec/models/experiment_spec.rb 1 addition, 0 deletionsspec/models/experiment_spec.rb
- spec/models/experiment_subject_spec.rb 47 additions, 0 deletionsspec/models/experiment_subject_spec.rb
app/models/experiment_subject.rb
0 → 100644
db/schema_migrations/20201110221400
0 → 100644
spec/factories/experiment_subjects.rb
0 → 100644
spec/models/experiment_subject_spec.rb
0 → 100644
Please register or sign in to comment