data-manipulation/tables.json

94 lines
2.2 KiB
JSON

{
"tables": [
{
"tableName": "users",
"tableDescription": "Список пользователей",
"fList": [
{
"fName": "id",
"fDescr": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "username",
"fDescr": "Логин",
"fType": "char(20)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "password",
"fDescr": "Пароль",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "lastname",
"fDescr": "Фамилия",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "name",
"fDescr": "Имя",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "middlename",
"fDescr": "Отчество",
"fType": "char(20)",
"index": "no",
"autoIncr": "no"
}
]
},
{
"tableName": "docs",
"tableDescription": "Список документов",
"fList": [
{
"fName": "id",
"fDescr": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "docname",
"fDescr": "Наименование",
"fType": "varchar(100)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "description",
"fDescr": "Описание",
"fType": "varchar(200)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "user_id",
"fDescr": "Владелец",
"fType": "int(6)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "parent_id",
"fDescr": "Имя",
"fType": "int(6)",
"index": "no",
"autoIncrement": "no"
}
]
}
]
}