@hed-hog/studio 0.0.292 → 0.0.293
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hedhog/table/capture_agent.yaml +47 -47
- package/hedhog/table/edit_composition.yaml +66 -66
- package/hedhog/table/edit_pipeline.yaml +45 -45
- package/hedhog/table/edit_stage_execution.yaml +45 -45
- package/hedhog/table/editor_delivery_package.yaml +62 -62
- package/hedhog/table/ingestion_job.yaml +73 -73
- package/hedhog/table/media_asset.yaml +129 -129
- package/hedhog/table/participant_command_ack.yaml +31 -31
- package/hedhog/table/participant_recording.yaml +66 -66
- package/hedhog/table/production_binding.yaml +33 -33
- package/hedhog/table/production_project.yaml +103 -103
- package/hedhog/table/publication_target.yaml +43 -43
- package/hedhog/table/recorded_file.yaml +73 -73
- package/hedhog/table/recording_command.yaml +71 -71
- package/hedhog/table/recording_incident.yaml +64 -64
- package/hedhog/table/recording_session.yaml +85 -85
- package/hedhog/table/scene.yaml +63 -63
- package/hedhog/table/scene_take.yaml +82 -82
- package/hedhog/table/session_participant.yaml +54 -54
- package/hedhog/table/storage_profile.yaml +74 -74
- package/hedhog/table/sync_marker.yaml +43 -43
- package/package.json +4 -4
- package/src/index.ts +4 -4
- package/src/language/en.json +8 -8
- package/src/studio.module.ts +20 -20
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: recording_session_id
|
|
4
|
-
type: fk
|
|
5
|
-
isNullable: true
|
|
6
|
-
references:
|
|
7
|
-
table: recording_session
|
|
8
|
-
column: id
|
|
9
|
-
onDelete: SET NULL
|
|
10
|
-
onUpdate: CASCADE
|
|
11
|
-
- name: scene_take_id
|
|
12
|
-
type: fk
|
|
13
|
-
isNullable: true
|
|
14
|
-
references:
|
|
15
|
-
table: scene_take
|
|
16
|
-
column: id
|
|
17
|
-
onDelete: SET NULL
|
|
18
|
-
onUpdate: CASCADE
|
|
19
|
-
- name: participant_recording_id
|
|
20
|
-
type: fk
|
|
21
|
-
isNullable: true
|
|
22
|
-
references:
|
|
23
|
-
table: participant_recording
|
|
24
|
-
column: id
|
|
25
|
-
onDelete: SET NULL
|
|
26
|
-
onUpdate: CASCADE
|
|
27
|
-
- name: session_participant_id
|
|
28
|
-
type: fk
|
|
29
|
-
isNullable: true
|
|
30
|
-
references:
|
|
31
|
-
table: session_participant
|
|
32
|
-
column: id
|
|
33
|
-
onDelete: SET NULL
|
|
34
|
-
onUpdate: CASCADE
|
|
35
|
-
- name: incident_type
|
|
36
|
-
type: enum
|
|
37
|
-
values: [no_audio, no_video, no_screen, corrupted_file, upload_failed, participant_disconnected, delayed_start, delayed_stop, partial_take, sync_issue, other]
|
|
38
|
-
default: other
|
|
39
|
-
- name: severity
|
|
40
|
-
type: enum
|
|
41
|
-
values: [low, medium, high, critical]
|
|
42
|
-
default: medium
|
|
43
|
-
- name: description
|
|
44
|
-
type: text
|
|
45
|
-
- name: detected_at
|
|
46
|
-
type: datetime
|
|
47
|
-
- name: resolved_at
|
|
48
|
-
type: datetime
|
|
49
|
-
isNullable: true
|
|
50
|
-
- name: resolution_notes
|
|
51
|
-
type: text
|
|
52
|
-
isNullable: true
|
|
53
|
-
- name: metadata_json
|
|
54
|
-
type: json
|
|
55
|
-
isNullable: true
|
|
56
|
-
- type: created_at
|
|
57
|
-
- type: updated_at
|
|
58
|
-
|
|
59
|
-
indices:
|
|
60
|
-
- columns: [recording_session_id]
|
|
61
|
-
- columns: [scene_take_id]
|
|
62
|
-
- columns: [participant_recording_id]
|
|
63
|
-
- columns: [severity]
|
|
64
|
-
- columns: [incident_type]
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: recording_session_id
|
|
4
|
+
type: fk
|
|
5
|
+
isNullable: true
|
|
6
|
+
references:
|
|
7
|
+
table: recording_session
|
|
8
|
+
column: id
|
|
9
|
+
onDelete: SET NULL
|
|
10
|
+
onUpdate: CASCADE
|
|
11
|
+
- name: scene_take_id
|
|
12
|
+
type: fk
|
|
13
|
+
isNullable: true
|
|
14
|
+
references:
|
|
15
|
+
table: scene_take
|
|
16
|
+
column: id
|
|
17
|
+
onDelete: SET NULL
|
|
18
|
+
onUpdate: CASCADE
|
|
19
|
+
- name: participant_recording_id
|
|
20
|
+
type: fk
|
|
21
|
+
isNullable: true
|
|
22
|
+
references:
|
|
23
|
+
table: participant_recording
|
|
24
|
+
column: id
|
|
25
|
+
onDelete: SET NULL
|
|
26
|
+
onUpdate: CASCADE
|
|
27
|
+
- name: session_participant_id
|
|
28
|
+
type: fk
|
|
29
|
+
isNullable: true
|
|
30
|
+
references:
|
|
31
|
+
table: session_participant
|
|
32
|
+
column: id
|
|
33
|
+
onDelete: SET NULL
|
|
34
|
+
onUpdate: CASCADE
|
|
35
|
+
- name: incident_type
|
|
36
|
+
type: enum
|
|
37
|
+
values: [no_audio, no_video, no_screen, corrupted_file, upload_failed, participant_disconnected, delayed_start, delayed_stop, partial_take, sync_issue, other]
|
|
38
|
+
default: other
|
|
39
|
+
- name: severity
|
|
40
|
+
type: enum
|
|
41
|
+
values: [low, medium, high, critical]
|
|
42
|
+
default: medium
|
|
43
|
+
- name: description
|
|
44
|
+
type: text
|
|
45
|
+
- name: detected_at
|
|
46
|
+
type: datetime
|
|
47
|
+
- name: resolved_at
|
|
48
|
+
type: datetime
|
|
49
|
+
isNullable: true
|
|
50
|
+
- name: resolution_notes
|
|
51
|
+
type: text
|
|
52
|
+
isNullable: true
|
|
53
|
+
- name: metadata_json
|
|
54
|
+
type: json
|
|
55
|
+
isNullable: true
|
|
56
|
+
- type: created_at
|
|
57
|
+
- type: updated_at
|
|
58
|
+
|
|
59
|
+
indices:
|
|
60
|
+
- columns: [recording_session_id]
|
|
61
|
+
- columns: [scene_take_id]
|
|
62
|
+
- columns: [participant_recording_id]
|
|
63
|
+
- columns: [severity]
|
|
64
|
+
- columns: [incident_type]
|
|
65
65
|
- columns: [resolved_at]
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: production_project_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: production_project
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
onUpdate: CASCADE
|
|
10
|
-
- name: active_scene_id
|
|
11
|
-
type: fk
|
|
12
|
-
isNullable: true
|
|
13
|
-
references:
|
|
14
|
-
table: scene
|
|
15
|
-
column: id
|
|
16
|
-
onDelete: SET NULL
|
|
17
|
-
onUpdate: CASCADE
|
|
18
|
-
- name: title
|
|
19
|
-
- name: description
|
|
20
|
-
type: text
|
|
21
|
-
isNullable: true
|
|
22
|
-
- name: session_type
|
|
23
|
-
type: enum
|
|
24
|
-
values: [local, remote_collaborative, hybrid]
|
|
25
|
-
default: local
|
|
26
|
-
- name: status
|
|
27
|
-
type: enum
|
|
28
|
-
values: [idle, arming, ready, start_requested, recording, stop_requested, processing, finished, cancelled]
|
|
29
|
-
default: idle
|
|
30
|
-
- name: room_key
|
|
31
|
-
type: varchar
|
|
32
|
-
length: 120
|
|
33
|
-
isNullable: true
|
|
34
|
-
- name: server_clock_reference
|
|
35
|
-
type: varchar
|
|
36
|
-
length: 120
|
|
37
|
-
isNullable: true
|
|
38
|
-
- name: sync_mode
|
|
39
|
-
type: enum
|
|
40
|
-
values: [server_authoritative, host_assisted, local_only]
|
|
41
|
-
default: server_authoritative
|
|
42
|
-
- name: host_user_id
|
|
43
|
-
type: fk
|
|
44
|
-
isNullable: true
|
|
45
|
-
references:
|
|
46
|
-
table: user
|
|
47
|
-
column: id
|
|
48
|
-
onDelete: SET NULL
|
|
49
|
-
onUpdate: CASCADE
|
|
50
|
-
- name: started_at
|
|
51
|
-
type: datetime
|
|
52
|
-
isNullable: true
|
|
53
|
-
- name: ended_at
|
|
54
|
-
type: datetime
|
|
55
|
-
isNullable: true
|
|
56
|
-
- name: metadata_json
|
|
57
|
-
type: json
|
|
58
|
-
isNullable: true
|
|
59
|
-
- name: created_by_user_id
|
|
60
|
-
type: fk
|
|
61
|
-
isNullable: true
|
|
62
|
-
references:
|
|
63
|
-
table: user
|
|
64
|
-
column: id
|
|
65
|
-
onDelete: SET NULL
|
|
66
|
-
onUpdate: CASCADE
|
|
67
|
-
- name: updated_by_user_id
|
|
68
|
-
type: fk
|
|
69
|
-
isNullable: true
|
|
70
|
-
references:
|
|
71
|
-
table: user
|
|
72
|
-
column: id
|
|
73
|
-
onDelete: SET NULL
|
|
74
|
-
onUpdate: CASCADE
|
|
75
|
-
- name: deleted_at
|
|
76
|
-
type: datetime
|
|
77
|
-
isNullable: true
|
|
78
|
-
- type: created_at
|
|
79
|
-
- type: updated_at
|
|
80
|
-
|
|
81
|
-
indices:
|
|
82
|
-
- columns: [production_project_id, status]
|
|
83
|
-
- columns: [room_key]
|
|
84
|
-
- columns: [host_user_id]
|
|
85
|
-
- columns: [active_scene_id]
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: production_project_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: production_project
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
onUpdate: CASCADE
|
|
10
|
+
- name: active_scene_id
|
|
11
|
+
type: fk
|
|
12
|
+
isNullable: true
|
|
13
|
+
references:
|
|
14
|
+
table: scene
|
|
15
|
+
column: id
|
|
16
|
+
onDelete: SET NULL
|
|
17
|
+
onUpdate: CASCADE
|
|
18
|
+
- name: title
|
|
19
|
+
- name: description
|
|
20
|
+
type: text
|
|
21
|
+
isNullable: true
|
|
22
|
+
- name: session_type
|
|
23
|
+
type: enum
|
|
24
|
+
values: [local, remote_collaborative, hybrid]
|
|
25
|
+
default: local
|
|
26
|
+
- name: status
|
|
27
|
+
type: enum
|
|
28
|
+
values: [idle, arming, ready, start_requested, recording, stop_requested, processing, finished, cancelled]
|
|
29
|
+
default: idle
|
|
30
|
+
- name: room_key
|
|
31
|
+
type: varchar
|
|
32
|
+
length: 120
|
|
33
|
+
isNullable: true
|
|
34
|
+
- name: server_clock_reference
|
|
35
|
+
type: varchar
|
|
36
|
+
length: 120
|
|
37
|
+
isNullable: true
|
|
38
|
+
- name: sync_mode
|
|
39
|
+
type: enum
|
|
40
|
+
values: [server_authoritative, host_assisted, local_only]
|
|
41
|
+
default: server_authoritative
|
|
42
|
+
- name: host_user_id
|
|
43
|
+
type: fk
|
|
44
|
+
isNullable: true
|
|
45
|
+
references:
|
|
46
|
+
table: user
|
|
47
|
+
column: id
|
|
48
|
+
onDelete: SET NULL
|
|
49
|
+
onUpdate: CASCADE
|
|
50
|
+
- name: started_at
|
|
51
|
+
type: datetime
|
|
52
|
+
isNullable: true
|
|
53
|
+
- name: ended_at
|
|
54
|
+
type: datetime
|
|
55
|
+
isNullable: true
|
|
56
|
+
- name: metadata_json
|
|
57
|
+
type: json
|
|
58
|
+
isNullable: true
|
|
59
|
+
- name: created_by_user_id
|
|
60
|
+
type: fk
|
|
61
|
+
isNullable: true
|
|
62
|
+
references:
|
|
63
|
+
table: user
|
|
64
|
+
column: id
|
|
65
|
+
onDelete: SET NULL
|
|
66
|
+
onUpdate: CASCADE
|
|
67
|
+
- name: updated_by_user_id
|
|
68
|
+
type: fk
|
|
69
|
+
isNullable: true
|
|
70
|
+
references:
|
|
71
|
+
table: user
|
|
72
|
+
column: id
|
|
73
|
+
onDelete: SET NULL
|
|
74
|
+
onUpdate: CASCADE
|
|
75
|
+
- name: deleted_at
|
|
76
|
+
type: datetime
|
|
77
|
+
isNullable: true
|
|
78
|
+
- type: created_at
|
|
79
|
+
- type: updated_at
|
|
80
|
+
|
|
81
|
+
indices:
|
|
82
|
+
- columns: [production_project_id, status]
|
|
83
|
+
- columns: [room_key]
|
|
84
|
+
- columns: [host_user_id]
|
|
85
|
+
- columns: [active_scene_id]
|
|
86
86
|
- columns: [deleted_at]
|
package/hedhog/table/scene.yaml
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: production_project_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: production_project
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
onUpdate: CASCADE
|
|
10
|
-
- name: name
|
|
11
|
-
- type: slug
|
|
12
|
-
- name: description
|
|
13
|
-
type: text
|
|
14
|
-
isNullable: true
|
|
15
|
-
- name: script_excerpt
|
|
16
|
-
type: text
|
|
17
|
-
isNullable: true
|
|
18
|
-
- name: sequence_order
|
|
19
|
-
type: int
|
|
20
|
-
default: 1
|
|
21
|
-
- name: estimated_duration_seconds
|
|
22
|
-
type: int
|
|
23
|
-
isNullable: true
|
|
24
|
-
- name: expected_output_type
|
|
25
|
-
type: enum
|
|
26
|
-
values: [talking_head, screen_demo, interview, presentation, outro, intro, other]
|
|
27
|
-
default: talking_head
|
|
28
|
-
- name: status
|
|
29
|
-
type: enum
|
|
30
|
-
values: [pending, ready_to_record, recording, recorded, approved_for_edit, edited, archived]
|
|
31
|
-
default: pending
|
|
32
|
-
- name: notes
|
|
33
|
-
type: text
|
|
34
|
-
isNullable: true
|
|
35
|
-
- name: metadata_json
|
|
36
|
-
type: json
|
|
37
|
-
isNullable: true
|
|
38
|
-
- name: created_by_user_id
|
|
39
|
-
type: fk
|
|
40
|
-
isNullable: true
|
|
41
|
-
references:
|
|
42
|
-
table: user
|
|
43
|
-
column: id
|
|
44
|
-
onDelete: SET NULL
|
|
45
|
-
onUpdate: CASCADE
|
|
46
|
-
- name: updated_by_user_id
|
|
47
|
-
type: fk
|
|
48
|
-
isNullable: true
|
|
49
|
-
references:
|
|
50
|
-
table: user
|
|
51
|
-
column: id
|
|
52
|
-
onDelete: SET NULL
|
|
53
|
-
onUpdate: CASCADE
|
|
54
|
-
- name: deleted_at
|
|
55
|
-
type: datetime
|
|
56
|
-
isNullable: true
|
|
57
|
-
- type: created_at
|
|
58
|
-
- type: updated_at
|
|
59
|
-
|
|
60
|
-
indices:
|
|
61
|
-
- columns: [production_project_id, sequence_order]
|
|
62
|
-
- columns: [production_project_id, status]
|
|
63
|
-
- columns: [slug]
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: production_project_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: production_project
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
onUpdate: CASCADE
|
|
10
|
+
- name: name
|
|
11
|
+
- type: slug
|
|
12
|
+
- name: description
|
|
13
|
+
type: text
|
|
14
|
+
isNullable: true
|
|
15
|
+
- name: script_excerpt
|
|
16
|
+
type: text
|
|
17
|
+
isNullable: true
|
|
18
|
+
- name: sequence_order
|
|
19
|
+
type: int
|
|
20
|
+
default: 1
|
|
21
|
+
- name: estimated_duration_seconds
|
|
22
|
+
type: int
|
|
23
|
+
isNullable: true
|
|
24
|
+
- name: expected_output_type
|
|
25
|
+
type: enum
|
|
26
|
+
values: [talking_head, screen_demo, interview, presentation, outro, intro, other]
|
|
27
|
+
default: talking_head
|
|
28
|
+
- name: status
|
|
29
|
+
type: enum
|
|
30
|
+
values: [pending, ready_to_record, recording, recorded, approved_for_edit, edited, archived]
|
|
31
|
+
default: pending
|
|
32
|
+
- name: notes
|
|
33
|
+
type: text
|
|
34
|
+
isNullable: true
|
|
35
|
+
- name: metadata_json
|
|
36
|
+
type: json
|
|
37
|
+
isNullable: true
|
|
38
|
+
- name: created_by_user_id
|
|
39
|
+
type: fk
|
|
40
|
+
isNullable: true
|
|
41
|
+
references:
|
|
42
|
+
table: user
|
|
43
|
+
column: id
|
|
44
|
+
onDelete: SET NULL
|
|
45
|
+
onUpdate: CASCADE
|
|
46
|
+
- name: updated_by_user_id
|
|
47
|
+
type: fk
|
|
48
|
+
isNullable: true
|
|
49
|
+
references:
|
|
50
|
+
table: user
|
|
51
|
+
column: id
|
|
52
|
+
onDelete: SET NULL
|
|
53
|
+
onUpdate: CASCADE
|
|
54
|
+
- name: deleted_at
|
|
55
|
+
type: datetime
|
|
56
|
+
isNullable: true
|
|
57
|
+
- type: created_at
|
|
58
|
+
- type: updated_at
|
|
59
|
+
|
|
60
|
+
indices:
|
|
61
|
+
- columns: [production_project_id, sequence_order]
|
|
62
|
+
- columns: [production_project_id, status]
|
|
63
|
+
- columns: [slug]
|
|
64
64
|
- columns: [deleted_at]
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: production_project_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: production_project
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
onUpdate: CASCADE
|
|
10
|
-
- name: scene_id
|
|
11
|
-
type: fk
|
|
12
|
-
references:
|
|
13
|
-
table: scene
|
|
14
|
-
column: id
|
|
15
|
-
onDelete: CASCADE
|
|
16
|
-
onUpdate: CASCADE
|
|
17
|
-
- name: recording_session_id
|
|
18
|
-
type: fk
|
|
19
|
-
references:
|
|
20
|
-
table: recording_session
|
|
21
|
-
column: id
|
|
22
|
-
onDelete: CASCADE
|
|
23
|
-
onUpdate: CASCADE
|
|
24
|
-
- name: take_number
|
|
25
|
-
type: int
|
|
26
|
-
- name: take_label
|
|
27
|
-
type: varchar
|
|
28
|
-
length: 120
|
|
29
|
-
isNullable: true
|
|
30
|
-
- name: status
|
|
31
|
-
type: enum
|
|
32
|
-
values: [pending, armed, recording, stopped, uploaded, validated, partial, approved, discarded, selected]
|
|
33
|
-
default: pending
|
|
34
|
-
- name: is_selected
|
|
35
|
-
type: boolean
|
|
36
|
-
default: false
|
|
37
|
-
- name: sync_timecode_base
|
|
38
|
-
type: varchar
|
|
39
|
-
length: 120
|
|
40
|
-
isNullable: true
|
|
41
|
-
- name: started_at
|
|
42
|
-
type: datetime
|
|
43
|
-
isNullable: true
|
|
44
|
-
- name: ended_at
|
|
45
|
-
type: datetime
|
|
46
|
-
isNullable: true
|
|
47
|
-
- name: duration_ms
|
|
48
|
-
type: int
|
|
49
|
-
isNullable: true
|
|
50
|
-
- name: notes
|
|
51
|
-
type: text
|
|
52
|
-
isNullable: true
|
|
53
|
-
- name: metadata_json
|
|
54
|
-
type: json
|
|
55
|
-
isNullable: true
|
|
56
|
-
- name: created_by_user_id
|
|
57
|
-
type: fk
|
|
58
|
-
isNullable: true
|
|
59
|
-
references:
|
|
60
|
-
table: user
|
|
61
|
-
column: id
|
|
62
|
-
onDelete: SET NULL
|
|
63
|
-
onUpdate: CASCADE
|
|
64
|
-
- name: updated_by_user_id
|
|
65
|
-
type: fk
|
|
66
|
-
isNullable: true
|
|
67
|
-
references:
|
|
68
|
-
table: user
|
|
69
|
-
column: id
|
|
70
|
-
onDelete: SET NULL
|
|
71
|
-
onUpdate: CASCADE
|
|
72
|
-
- name: deleted_at
|
|
73
|
-
type: datetime
|
|
74
|
-
isNullable: true
|
|
75
|
-
- type: created_at
|
|
76
|
-
- type: updated_at
|
|
77
|
-
|
|
78
|
-
indices:
|
|
79
|
-
- columns: [scene_id, take_number]
|
|
80
|
-
isUnique: true
|
|
81
|
-
- columns: [recording_session_id, status]
|
|
82
|
-
- columns: [is_selected]
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: production_project_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: production_project
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
onUpdate: CASCADE
|
|
10
|
+
- name: scene_id
|
|
11
|
+
type: fk
|
|
12
|
+
references:
|
|
13
|
+
table: scene
|
|
14
|
+
column: id
|
|
15
|
+
onDelete: CASCADE
|
|
16
|
+
onUpdate: CASCADE
|
|
17
|
+
- name: recording_session_id
|
|
18
|
+
type: fk
|
|
19
|
+
references:
|
|
20
|
+
table: recording_session
|
|
21
|
+
column: id
|
|
22
|
+
onDelete: CASCADE
|
|
23
|
+
onUpdate: CASCADE
|
|
24
|
+
- name: take_number
|
|
25
|
+
type: int
|
|
26
|
+
- name: take_label
|
|
27
|
+
type: varchar
|
|
28
|
+
length: 120
|
|
29
|
+
isNullable: true
|
|
30
|
+
- name: status
|
|
31
|
+
type: enum
|
|
32
|
+
values: [pending, armed, recording, stopped, uploaded, validated, partial, approved, discarded, selected]
|
|
33
|
+
default: pending
|
|
34
|
+
- name: is_selected
|
|
35
|
+
type: boolean
|
|
36
|
+
default: false
|
|
37
|
+
- name: sync_timecode_base
|
|
38
|
+
type: varchar
|
|
39
|
+
length: 120
|
|
40
|
+
isNullable: true
|
|
41
|
+
- name: started_at
|
|
42
|
+
type: datetime
|
|
43
|
+
isNullable: true
|
|
44
|
+
- name: ended_at
|
|
45
|
+
type: datetime
|
|
46
|
+
isNullable: true
|
|
47
|
+
- name: duration_ms
|
|
48
|
+
type: int
|
|
49
|
+
isNullable: true
|
|
50
|
+
- name: notes
|
|
51
|
+
type: text
|
|
52
|
+
isNullable: true
|
|
53
|
+
- name: metadata_json
|
|
54
|
+
type: json
|
|
55
|
+
isNullable: true
|
|
56
|
+
- name: created_by_user_id
|
|
57
|
+
type: fk
|
|
58
|
+
isNullable: true
|
|
59
|
+
references:
|
|
60
|
+
table: user
|
|
61
|
+
column: id
|
|
62
|
+
onDelete: SET NULL
|
|
63
|
+
onUpdate: CASCADE
|
|
64
|
+
- name: updated_by_user_id
|
|
65
|
+
type: fk
|
|
66
|
+
isNullable: true
|
|
67
|
+
references:
|
|
68
|
+
table: user
|
|
69
|
+
column: id
|
|
70
|
+
onDelete: SET NULL
|
|
71
|
+
onUpdate: CASCADE
|
|
72
|
+
- name: deleted_at
|
|
73
|
+
type: datetime
|
|
74
|
+
isNullable: true
|
|
75
|
+
- type: created_at
|
|
76
|
+
- type: updated_at
|
|
77
|
+
|
|
78
|
+
indices:
|
|
79
|
+
- columns: [scene_id, take_number]
|
|
80
|
+
isUnique: true
|
|
81
|
+
- columns: [recording_session_id, status]
|
|
82
|
+
- columns: [is_selected]
|
|
83
83
|
- columns: [deleted_at]
|