Skip to content

Add Discipline types picklist migration #7582

@alesan99

Description

@alesan99

Is your feature request related to a problem? Please describe.
For discipline creation there should be picklist of discipline types.

const disciplineTypeOptions = [
  { value: 'fish', label: 'Fish' },
  { value: 'herpetology', label: 'Herpetology' },
  { value: 'paleobotany', label: 'Paleobotany' },
  { value: 'invertpaleo', label: 'Invertebrate Paleontology' },
  { value: 'vertpaleo', label: 'Vertebrate Paleontology' },
  { value: 'bird', label: 'Bird' },
  { value: 'mammal', label: 'Mammal' },
  { value: 'insect', label: 'Insect' },
  { value: 'botany', label: 'Botany' },
  { value: 'invertebrate', label: 'Invertebrate' },
  { value: 'geology', label: 'Geology' },
];

Describe the solution you'd like
It should be created through a migration.

Describe alternatives you've considered
It's currently hardcoded in the setup PR. It should be a migration though.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions