-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdraft.yaml
81 lines (72 loc) · 1.78 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
models:
Address:
user_id: unsignedInteger
relationships:
belongsTo: User
street: string
city: string
state: string
zip: string
Appointment:
user_id: unsignedInteger
service_id: unsignedInteger
teamUser_id: unsignedInteger nullable
relationships:
belongsTo: User
belongsToMany: Service
date: string
time: string
client_name: string
client_email: string email
client_phone: string nullable
client_referer: string nullable
notes: text nullable
status: string default:pending
BusinessHour:
user_id: unsignedInteger
relationships:
belongsTo: User
day: string nullable
open: string nullable
close: string nullable
status: boolean default:true
Gallery:
service_id: unsignedInteger
relationships:
belongsTo: Service
description: text nullable
image: text nullable
Hero:
user_id: unsignedInteger
relationships:
belongsTo: User
mainQuote: string
secondaryQuote: string nullable
thirdQuote: string nullable
gradientDegree: integer
gradientDegreeStart: integer
gradientDegreeEnd: integer
gradientDegreeFirstColor: string
gradientDegreeSecondColor: string
image: text nullable
waves: boolean default:false
Service:
user_id: unsignedInteger
relationships:
belongsTo: User
hasMany: Gallery
belongsToMany: Appointment
name: string
description: text
price: string nullable
estimated_hours: integer nullable
estimated_minutes: integer nullable
extra_description: text nullable
Social:
user_id: unsignedInteger
relationships:
belongsTo: User
facebook: string nullable
instagram: string nullable
twitter: string nullable
linkedin: string nullable