-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinput.slick
More file actions
37 lines (30 loc) · 935 Bytes
/
Copy pathinput.slick
File metadata and controls
37 lines (30 loc) · 935 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
company:
id: ~
company: {type: varchar(255)}
description: {type: varchar(255)}
userData:
username: {type:varchar(255)}
password: {type: varchar(255)}
email: {type: varchar(255), required: false}
branches: {type: oneToMany, foreignTable: branch}
created_at: ~
updated_at: ~
branch:
id: ~
branch: {type: varchar(255)}
company_id: {type: integer, foreignTable: company, foreignReference: id, onDelete: cascade}
address: {type: varchar(255)}
visible: {type: boolean}
state: {type: integer}
doors: {type: oneToMany, foreignTable: door}
windows: {type: oneToMany, foreignTable: window}
created_at: ~
updated_at: ~
door:
id: ~
branch_id: {type: integer, foreignTable: branch, foreignReference: id, onDelete: cascade}
door: {type: varchar(255)}
window:
id: ~
branch_id: {type: integer, foreignTable: branch, foreignReference: id, onDelete: cascade}
window: {type: varchar(255)}