diff --git a/src/main/resources/db.changelog/0.0.1/2025-02-19--0004-offices.xml b/src/main/resources/db.changelog/0.0.1/2025-02-19--0004-offices.xml index ed1fc30..5fabba5 100644 --- a/src/main/resources/db.changelog/0.0.1/2025-02-19--0004-offices.xml +++ b/src/main/resources/db.changelog/0.0.1/2025-02-19--0004-offices.xml @@ -2,10 +2,10 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd"> - + - + @@ -58,7 +58,7 @@ private List terminals; --> - + diff --git a/src/main/resources/db.changelog/0.0.1/2025-02-19--0005-terminals.xml b/src/main/resources/db.changelog/0.0.1/2025-02-19--0005-terminals.xml index 0d42d62..1eb9bc4 100644 --- a/src/main/resources/db.changelog/0.0.1/2025-02-19--0005-terminals.xml +++ b/src/main/resources/db.changelog/0.0.1/2025-02-19--0005-terminals.xml @@ -16,7 +16,7 @@ - + diff --git a/src/main/resources/db.changelog/0.0.1/2025-02-19--0006-employees.xml b/src/main/resources/db.changelog/0.0.1/2025-02-19--0006-employees.xml new file mode 100644 index 0000000..34721b1 --- /dev/null +++ b/src/main/resources/db.changelog/0.0.1/2025-02-19--0006-employees.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/db.changelog/0.0.1/2025-02-19--0007-visits.xml b/src/main/resources/db.changelog/0.0.1/2025-02-19--0007-visits.xml new file mode 100644 index 0000000..86a67a7 --- /dev/null +++ b/src/main/resources/db.changelog/0.0.1/2025-02-19--0007-visits.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/db.changelog/data/csv/2025-02-19--0002-positions.csv b/src/main/resources/db.changelog/data/csv/2025-02-19--0002-positions-data.csv similarity index 100% rename from src/main/resources/db.changelog/data/csv/2025-02-19--0002-positions.csv rename to src/main/resources/db.changelog/data/csv/2025-02-19--0002-positions-data.csv diff --git a/src/main/resources/db.changelog/data/csv/2025-02-19--0004-offices-data.csv b/src/main/resources/db.changelog/data/csv/2025-02-19--0004-offices-data.csv new file mode 100644 index 0000000..790b1b4 --- /dev/null +++ b/src/main/resources/db.changelog/data/csv/2025-02-19--0004-offices-data.csv @@ -0,0 +1,2 @@ +name;description;address;latitude;longitude;logo_image_url;telephone;email +Офис в Москве;Любимый офис Владимира Путина;г. Москва;54.31207;48.393951;https://storage.yandexcloud.net/spring-boot-final-nto-bacet/standard/profile--1.jpg;+794145546556;limasov_krut@gmail.com \ No newline at end of file diff --git a/src/main/resources/db.changelog/data/csv/2025-02-19--0005-terminals-data.csv b/src/main/resources/db.changelog/data/csv/2025-02-19--0005-terminals-data.csv new file mode 100644 index 0000000..8409f28 --- /dev/null +++ b/src/main/resources/db.changelog/data/csv/2025-02-19--0005-terminals-data.csv @@ -0,0 +1,2 @@ +name;code;office_id +Первый считыватель в Москве;313123323232312;1 \ No newline at end of file diff --git a/src/main/resources/db.changelog/data/csv/2025-02-19--0006-employees-data.csv b/src/main/resources/db.changelog/data/csv/2025-02-19--0006-employees-data.csv new file mode 100644 index 0000000..02bfae6 --- /dev/null +++ b/src/main/resources/db.changelog/data/csv/2025-02-19--0006-employees-data.csv @@ -0,0 +1,2 @@ +name;surname;patronymic;about_me;telephone;email;password;office_id;pos_id;role_id;profile_image_url;created_at;is_blocked +Иван;Иванович;Иванов;Меня зовут Алексей, и я уже несколько лет занимаюсь волонтерской деятельностью.;+79263321231;example1@gmail.com;$2a$04$NybaY71VUlBaqzmyit2VBOFiJjuz0gO519e8WwVGK4eQkIUctLfgy;1;1;2;https://storage.yandexcloud.net/spring-boot-final-nto-bacet/standard/profile--10.jpg;now;false \ No newline at end of file diff --git a/src/main/resources/db.changelog/data/csv/2025-02-19--0007-visits-data.csv b/src/main/resources/db.changelog/data/csv/2025-02-19--0007-visits-data.csv new file mode 100644 index 0000000..b3e2acf --- /dev/null +++ b/src/main/resources/db.changelog/data/csv/2025-02-19--0007-visits-data.csv @@ -0,0 +1,3 @@ +employee_id;start_visit;end_visit;is_finished;start_terminal_id;end_terminal_id;type_passage +1;now;now;true;1;1;2 +1;now;null;false;1;1;1 \ No newline at end of file