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
|
|
|
|
}
|
|
|
|
|
]
|
2017-03-14 14:09:31 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"tableName": "address",
|
2017-03-14 17:01:30 +03:00
|
|
|
|
"tableDescription": "Адреса",
|
2017-03-14 14:09:31 +03:00
|
|
|
|
"fieldList": [
|
|
|
|
|
{
|
|
|
|
|
"fName": "id",
|
2017-03-14 17:01:30 +03:00
|
|
|
|
"fDescription": "Номер п.п.",
|
2017-03-14 14:09:31 +03:00
|
|
|
|
"fType": "int(6)",
|
|
|
|
|
"index": "PRIMARY KEY",
|
2017-03-15 17:06:24 +03:00
|
|
|
|
"autoIncrement": "yes",
|
|
|
|
|
"relation": []
|
2017-03-14 14:09:31 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"fName": "region",
|
2017-03-14 17:01:30 +03:00
|
|
|
|
"fDescription": "Регион",
|
2017-03-14 14:09:31 +03:00
|
|
|
|
"fType": "varchar(100)",
|
|
|
|
|
"index": "yes",
|
2017-03-15 17:06:24 +03:00
|
|
|
|
"autoIncrement": "no",
|
|
|
|
|
"relation": []
|
2017-03-14 14:09:31 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"fName": "city",
|
2017-03-14 17:01:30 +03:00
|
|
|
|
"fDescription": "Населеннй пункт",
|
2017-03-14 14:09:31 +03:00
|
|
|
|
"fType": "varchar(200)",
|
|
|
|
|
"index": "no",
|
2017-03-15 17:06:24 +03:00
|
|
|
|
"autoIncrement": "no",
|
|
|
|
|
"relation": []
|
2017-03-14 14:09:31 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"fName": "street",
|
2017-03-14 17:01:30 +03:00
|
|
|
|
"fDescription": "Улица",
|
2017-03-14 14:09:31 +03:00
|
|
|
|
"fType": "varchar(100)",
|
|
|
|
|
"index": "no",
|
2017-03-15 17:06:24 +03:00
|
|
|
|
"autoIncrement": "no",
|
|
|
|
|
"relation": []
|
2017-03-14 14:09:31 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"fName": "house",
|
2017-03-14 17:01:30 +03:00
|
|
|
|
"fDescription": "Дом",
|
2017-03-14 14:09:31 +03:00
|
|
|
|
"fType": "char(6)",
|
|
|
|
|
"index": "no",
|
2017-03-15 17:06:24 +03:00
|
|
|
|
"autoIncrement": "no",
|
|
|
|
|
"relation": []
|
2017-03-14 14:09:31 +03:00
|
|
|
|
}
|
|
|
|
|
]
|
2017-03-15 15:58:26 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
2017-03-16 14:13:20 +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
|
|
|
|
},
|
|
|
|
|
{
|
2017-03-16 14:13:20 +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",
|
2017-03-16 14:13:20 +03:00
|
|
|
|
"relation": ["users.id", "last_name, name, middle_name"]
|
2017-03-15 15:58:26 +03:00
|
|
|
|
}
|
|
|
|
|
]
|
2017-03-17 17:17:17 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"tableName": "test2",
|
|
|
|
|
"tableDescription": "Шляпа2",
|
|
|
|
|
"fieldList": [
|
|
|
|
|
{
|
|
|
|
|
"fName": "id",
|
|
|
|
|
"fDescription": "Номер п.п.",
|
|
|
|
|
"fType": "int(11)",
|
|
|
|
|
"index": "PRIMARY KEY",
|
|
|
|
|
"autoIncrement": "yes",
|
|
|
|
|
"relation": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"fName": "ins_date",
|
|
|
|
|
"fDescription": "Дата добавления",
|
|
|
|
|
"fType": "DATETIME",
|
|
|
|
|
"index": "no",
|
|
|
|
|
"autoIncrement": "no",
|
|
|
|
|
"relation": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"fName": "user",
|
|
|
|
|
"fDescription": "Юзер шляпы",
|
|
|
|
|
"fType": "int(11)",
|
|
|
|
|
"index": "no",
|
|
|
|
|
"autoIncrement": "no",
|
|
|
|
|
"relation": ["users.id", "last_name, name, middle_name"]
|
|
|
|
|
}
|
|
|
|
|
]
|
2017-03-12 15:02:21 +03:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|