-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraft.yaml
42 lines (37 loc) · 975 Bytes
/
draft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
models:
Sample:
device_id: id foreign nullable
company_id: id foreign nullable
reference: string nullable
solvent_id: id foreign nullable
molecule_id: id foreign nullable
spectrum_type: string nullable
instructions: text nullable
additional_infofile_id: string nullable
priority: enum:high,medium,low
operator_id: id foreign nullable
relationships:
belongsToMany: SpectrumType
belongsTo: Device,Solvent
Device:
name: string
manufacturer: string
model_no: string
spectrum_types: string
relationships:
belongsToMany: SpectrumType
HasMany: Sample
SpectrumType:
neuclei: string
dimentionality: enum:1D,2D
name: string
relationships:
belongsToMany: Sample,Device
Solvent:
name: string
description: text nullable
molecular_formula: string
molecular_weight: decimal:8,2
meta_data: jsonb
relationships:
HasMany: Sample,Structure