-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathToDoList.php
62 lines (59 loc) · 1.77 KB
/
ToDoList.php
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
<?php
return [
// '0' => [
// 'basics' => [
// 'tablename' => 'Furniture',
// ],
// 'fields' => [
// '0' => ['furnituretypes_id', 'ref', [
// 'tablename' => 'Furnituretypes',
// 'modelname' => 'Furnituretypes',
// 'displayedfield' => 'name',
// ]],
// '1' => ['description', 'string', 'nullable'],
// '2' => ['land_number', 'string', 'nullable'],
// '3' => ['status', 'integer', 'notnull'],
// '4' => ['createdby', 'ref', [
// 'tablename' => 'users',
// 'modelname' => 'User',
// 'displayedfield' => 'name',
// ]],
// '5' => ['updatedby', 'ref', [
// 'tablename' => 'users',
// 'modelname' => 'User',
// 'displayedfield' => 'name',
// ]],
// '6' => ['published', 'checkbox'],
// ],
// ],
'0' => [
'basics' => [
'tablename' => 'Conditions',
],
'fields' => [
'0' => ['type', 'integer', 'nullable'],
'1' => ['text', 'string', 'nullable'],
'2' => ['published', 'checkbox'],
],
],
'1' => [
'basics' => [
'tablename' => 'Regions',
],
'fields' => [
'0' => ['name', 'string', 'notnull'],
'1' => ['coordinates', 'string', 'nullable'],
'2' => ['pricing', 'string', 'nullable'],
'3' => ['published', 'checkbox'],
],
],
'3' => [
'basics' => [
'tablename' => 'Questions',
],
'fields' => [
'0' => ['text', 'string', 'notnull'],
'1' => ['published', 'checkbox'],
],
],
];