Skip to content

Commit c097530

Browse files
Add files via upload
1 parent 9f96e0b commit c097530

File tree

1 file changed

+17
-32
lines changed

1 file changed

+17
-32
lines changed

_db_/core/db.json

Lines changed: 17 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
[
2-
{
1+
[{
2+
"table": "feedback",
3+
"action": "create",
4+
"schema": {
5+
"feedback_id": "integer",
6+
"title": "string",
7+
"description": "string",
8+
"uri": "string",
9+
"type": "string",
10+
"param": "string",
11+
"created": "datatime"
12+
}
13+
}, {
314
"table": "language",
415
"action": "create",
516
"schema": {
@@ -280,40 +291,15 @@
280291
"email": "string",
281292
"phone": "string",
282293
"language": "string",
283-
"cookie": "string",
284-
"alias": "string",
285-
"state": "integer",
286-
"score": "integer"
287-
},
288-
"relations": {
289-
"user_data": {
290-
"type": "hasMany",
291-
"keys": {
292-
"local": "role_id",
293-
"foreign": "role_id"
294-
}
295-
}
296-
}
297-
}, {
298-
"table": "user_data",
299-
"action": "create",
300-
"schema": {
301-
"user_data_id": "integer",
302-
"user_id": "integer",
303294
"ticketed": "integer",
304295
"admin_access": "integer",
296+
"iname": "string",
297+
"fname": "string",
298+
"oname": "string",
299+
"cookie": "string",
305300
"alias": "string",
306301
"state": "integer",
307302
"score": "integer"
308-
},
309-
"relations": {
310-
"user": {
311-
"type": "belongsTo",
312-
"keys": {
313-
"local": "user_id",
314-
"foreign": "user_id"
315-
}
316-
}
317303
}
318304
}, {
319305
"table": "contact",
@@ -601,4 +587,3 @@
601587
}
602588
}
603589
]
604-

0 commit comments

Comments
 (0)