data-manipulation/tables.json

173 lines
4.3 KiB
JSON
Raw Normal View History

2017-03-12 15:02:21 +03:00
{
"tables": [
{
"tableName": "users",
2017-03-14 17:01:30 +03:00
"tableDescription": "Пользователи",
2017-03-12 18:33:51 +03:00
"fieldList": [
2017-03-12 15:02:21 +03:00
{
"fName": "id",
2017-03-14 17:01:30 +03:00
"fDescription": "Номер п.п.",
2017-03-12 15:02:21 +03:00
"fType": "int(6)",
"index": "PRIMARY KEY",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
2017-03-12 18:33:51 +03:00
"fName": "login",
2017-03-14 17:01:30 +03:00
"fDescription": "Логин",
2017-03-12 15:02:21 +03:00
"fType": "char(20)",
"index": "yes",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
"fName": "password",
2017-03-14 17:01:30 +03:00
"fDescription": "Пароль",
2017-03-12 15:02:21 +03:00
"fType": "char(20)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
2017-03-12 18:33:51 +03:00
"fName": "last_name",
2017-03-14 17:01:30 +03:00
"fDescription": "Фамилия",
2017-03-12 15:02:21 +03:00
"fType": "char(20)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
"fName": "name",
2017-03-14 17:01:30 +03:00
"fDescription": "Имя",
2017-03-12 15:02:21 +03:00
"fType": "char(20)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
2017-03-12 18:33:51 +03:00
"fName": "middle_name",
2017-03-14 17:01:30 +03:00
"fDescription": "Отчество",
2017-03-12 15:02:21 +03:00
"fType": "char(20)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
}
]
},
{
"tableName": "docs",
2017-03-14 17:01:30 +03:00
"tableDescription": "Документы",
2017-03-12 18:33:51 +03:00
"fieldList": [
2017-03-12 15:02:21 +03:00
{
"fName": "id",
2017-03-14 17:01:30 +03:00
"fDescription": "Номер п.п.",
2017-03-12 15:02:21 +03:00
"fType": "int(6)",
"index": "PRIMARY KEY",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
2017-03-13 16:50:33 +03:00
"fName": "doc_name",
2017-03-14 17:01:30 +03:00
"fDescription": "Наименование",
2017-03-12 15:02:21 +03:00
"fType": "varchar(100)",
"index": "yes",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
"fName": "description",
2017-03-14 17:01:30 +03:00
"fDescription": "Описание",
2017-03-12 15:02:21 +03:00
"fType": "varchar(200)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
2017-03-15 15:58:26 +03:00
"fName": "users_id",
2017-03-14 17:01:30 +03:00
"fDescription": "Владелец",
2017-03-12 15:02:21 +03:00
"fType": "int(6)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": ["users.id", "last_name, name, middle_name"]
2017-03-12 15:02:21 +03:00
},
{
"fName": "parent_id",
2017-03-15 17:06:24 +03:00
"fDescription": "Родительский документ",
2017-03-12 15:02:21 +03:00
"fType": "int(6)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": ["docs.id", "doc_name"]
2017-03-12 15:02:21 +03:00
}
]
},
{
"tableName": "address",
2017-03-14 17:01:30 +03:00
"tableDescription": "Адреса",
"fieldList": [
{
"fName": "id",
2017-03-14 17:01:30 +03:00
"fDescription": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
},
{
"fName": "region",
2017-03-14 17:01:30 +03:00
"fDescription": "Регион",
"fType": "varchar(100)",
"index": "yes",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
},
{
"fName": "city",
2017-03-14 17:01:30 +03:00
"fDescription": "Населеннй пункт",
"fType": "varchar(200)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
},
{
"fName": "street",
2017-03-14 17:01:30 +03:00
"fDescription": "Улица",
"fType": "varchar(100)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
},
{
"fName": "house",
2017-03-14 17:01:30 +03:00
"fDescription": "Дом",
"fType": "char(6)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
}
]
2017-03-15 15:58:26 +03:00
},
{
"tableName": "test",
"tableDescription": "Шляпа",
2017-03-15 15:58:26 +03:00
"fieldList": [
{
"fName": "id",
"fDescription": "Номер п.п.",
"fType": "int(11)",
"index": "PRIMARY KEY",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "user",
"fDescription": "Юзер шляпы",
"fType": "int(11)",
2017-03-15 15:58:26 +03:00
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": ["users.id", "last_name, name, middle_name"]
2017-03-15 15:58:26 +03:00
}
]
2017-03-12 15:02:21 +03:00
}
]
}