Видален параметр "Призначення"
This commit is contained in:
@@ -8,7 +8,6 @@ Table sheeps [note: 'Таблиця вісників'] {
|
||||
icon text [note: 'Піктограмка вісника']
|
||||
uuid text [note: 'Код доступа']
|
||||
uuid_manager text [note: 'Код доступа']
|
||||
appointment text [default: 'lamb', note: 'Вид призначення']
|
||||
mode integer [default: 0,note: 'Тип користувача чи адміністратора']
|
||||
mode_title text [default: 'Користувач', note: 'Назва типу користувача чи адміністратора']
|
||||
}
|
||||
@@ -37,7 +36,11 @@ Table groups [note: 'Таблиця теократичних груп'] {
|
||||
Table subscription [note: 'Таблиця токенів вісників для повідомлень'] {
|
||||
id integer [primary key]
|
||||
sheep_id integer [note: 'ID вісника']
|
||||
token text [note: 'Токен пристрою']
|
||||
endpoint text [note: 'endpoint пристрою']
|
||||
keys text [note: 'keys пристрою']
|
||||
device_name text [note: 'Назва пристрою']
|
||||
device_model text [note: 'Модель пристрою']
|
||||
created_at timestamp [note: 'Дата створення']
|
||||
}
|
||||
|
||||
Table badges [note: 'Таблиця кількісті непрочитаних повідомлень'] {
|
||||
@@ -53,6 +56,7 @@ Table house [note: 'Таблиця багатоповерхових будинк
|
||||
points text [default: '[]', note: 'Масив точок будинку OSM']
|
||||
points_number text [default: '[]', note: 'Масив точок будинку OSM']
|
||||
geo text [default: '[]', note: 'Точка будинку на мапі']
|
||||
zoom integer [default: 18, note: 'Zoom на мапі']
|
||||
osm_id text [default: '[]', note: 'Список ID будинків в БД OSM']
|
||||
settlement text [note: 'Місто роздашування']
|
||||
description text [note: 'Коментар до будинку']
|
||||
@@ -65,10 +69,6 @@ Table entrance [note: 'Таблиця підїздів багатоповерх
|
||||
house_id integer [note: 'ID багатоповерхового будинку']
|
||||
entrance_number integer [note: 'Номер підїзду']
|
||||
title text [note: 'Назва підїзду']
|
||||
points text [default: '[]', note: 'Масив точок підїзду OSM']
|
||||
points_number text [default: '[]', note: 'Масив точок підїзду OSM']
|
||||
floors_quantity text [note: 'Кількість поверхів в підїзді']
|
||||
apartments_quantity text [note: 'Кількість квартир в підїзді']
|
||||
description text [note: 'Коментар до підїзду']
|
||||
created_at timestamp [note: 'Дата створення підїзду']
|
||||
updated_at timestamp [note: 'Дата зміни підїзду']
|
||||
@@ -111,8 +111,8 @@ Table homestead [note: 'Таблиця житлових районів'] {
|
||||
title text [note: 'Житловий район']
|
||||
number text [note: 'Номер житловогу району']
|
||||
points text [default: '[]', note: 'Масив точок житловогу району OSM']
|
||||
point_icons text [default: '[]', note: 'Масив точок піктограм житловогу району']
|
||||
geo text [default: '[]', note: 'Точка житловогу району на мапі']
|
||||
zoom integer [default: 18, note: 'Zoom на мапі']
|
||||
osm_id text [default: '[]', note: 'Список ID житловоих районів в БД OSM']
|
||||
settlement text [note: 'Місто роздашування']
|
||||
description text [note: 'Коментар до житловогу району']
|
||||
@@ -122,7 +122,7 @@ Table homestead [note: 'Таблиця житлових районів'] {
|
||||
|
||||
Table homestead_history [note: 'Таблиця історії вісників які опрацьовували житлові райони'] {
|
||||
id integer [primary key]
|
||||
homestead_id integer [note: 'ID підїзду']
|
||||
homestead_id integer [note: 'ID житлового район']
|
||||
name text [note: 'Хто опрацовував (імʼя)']
|
||||
date_start timestamp [note: 'Початок опрацювання']
|
||||
date_end timestamp [note: 'Кінець опрацювання']
|
||||
@@ -131,6 +131,26 @@ Table homestead_history [note: 'Таблиця історії вісників
|
||||
working integer [default: 0, note: 'Статус опрацювання']
|
||||
}
|
||||
|
||||
Table building [note: 'Таблиця приватних будинків'] {
|
||||
id integer [primary key]
|
||||
homestead_id integer [note: 'ID житлового район']
|
||||
geo text [default: '[]', note: 'Точка будинку на мапі']
|
||||
title text [note: 'Назва будинку']
|
||||
status integer [note: 'Статус будинку']
|
||||
description text [note: 'Коментар до будинку']
|
||||
sheep_id integer [note: 'ID вісника що зробив зміни']
|
||||
updated_at timestamp [note: 'Дата зміни історії будинку']
|
||||
}
|
||||
|
||||
Table building_history [note: 'Таблиця історії опрацьовування приватних будинків'] {
|
||||
id integer [primary key]
|
||||
sheep_id integer [note: 'ID вісника що зробив зміни']
|
||||
building_id integer [note: 'ID приватного будинку']
|
||||
status integer [note: 'Статус будинку']
|
||||
description text [note: 'Коментар до будинку']
|
||||
created_at timestamp [note: 'Дата зміни історії будинку']
|
||||
}
|
||||
|
||||
Table meetings_schedule [note: 'Таблиця розкладу зібрань'] {
|
||||
id integer [primary key]
|
||||
date timestamp [note: 'Дата зібрання']
|
||||
@@ -167,16 +187,15 @@ Table stand_schedule [note: 'Таблиця записів служіння зі
|
||||
Table stand_schedule_history [note: 'Таблиця записів служіння зі стендом'] {
|
||||
id integer [primary key]
|
||||
stand_schedule_id integer [note: 'ID стенду']
|
||||
date timestamp [note: 'Дата служіння зі стендом']
|
||||
sheep_id integer [note: 'ID вісника']
|
||||
hour integer [note: 'Година запису']
|
||||
number_sheep text [note: 'Номер вісника, що одночасно стоїть']
|
||||
created_at timestamp [note: 'Дата зміни запису']
|
||||
}
|
||||
|
||||
Ref: sheeps.id - possibilities.sheep_id // one-to-one
|
||||
Ref: sheeps.id < apartments_history.sheep_id // one-to-many
|
||||
Ref: sheeps.id < apartments.sheep_id // one-to-many
|
||||
Ref: sheeps.id < building_history.sheep_id // one-to-many
|
||||
Ref: sheeps.id < building.sheep_id // one-to-many
|
||||
Ref: sheeps.id < subscription.sheep_id // one-to-many
|
||||
Ref: sheeps.id < badges.sheep_id // one-to-many
|
||||
Ref: sheeps.id < homestead_history.sheep_id // one-to-many
|
||||
@@ -192,11 +211,15 @@ Ref: groups.group_number < homestead_history.group_id // one-to-many
|
||||
Ref: house.id < entrance.house_id // one-to-many
|
||||
|
||||
Ref: homestead.id < homestead_history.homestead_id // one-to-many
|
||||
Ref: homestead.id < building.homestead_id // one-to-many
|
||||
|
||||
|
||||
Ref: entrance.id < entrance_history.entrance_id // one-to-many
|
||||
Ref: entrance.id < apartments.entrance_id // one-to-many
|
||||
|
||||
Ref: apartments.id < apartments_history.apartments_id // one-to-many
|
||||
|
||||
Ref: building.id < building_history.building_id // one-to-many
|
||||
|
||||
Ref: stand_list.id < stand_schedule.stand_id // one-to-many
|
||||
Ref: stand_schedule.id < stand_schedule_history.stand_schedule_id // one-to-many
|
||||
13640
dock/Sheep-Service.pdf
13640
dock/Sheep-Service.pdf
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 332 KiB After Width: | Height: | Size: 394 KiB |
Reference in New Issue
Block a user