generated from stats4sd/laravel-10-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdraft.yaml
More file actions
45 lines (39 loc) · 882 Bytes
/
draft.yaml
File metadata and controls
45 lines (39 loc) · 882 Bytes
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
43
44
models:
TagType:
label: string:400
description: longtext
freetext: boolean
relationships:
hasMany: Tag
Tag:
name: string:400
slug: string:400
tag_type_id: foreign:tag_types
relationships:
morphedByMany: Trove
Type:
name: string:400
Trove:
title: string:400
slug: string:400
description: longtext
uploader_id: id foreign:users
creation_date: date
type_id: foreign:types
cover_image: string:400
public: boolean
youtube: string:400 # check
source: boolean
download_count: integer default:null
relationships:
belongsTo: User
belongsToMany: Collection
Collection:
title: string:400
description: longtext
uploader_id: id foreign:users
cover_image: string:400
public: boolean
relationships:
belongsTo: User
belongsToMany: Trove