From d2444378587e669fad6eb6e3204866e6f2c14b33 Mon Sep 17 00:00:00 2001 From: T-Midnight Date: Tue, 7 May 2019 22:35:44 +0400 Subject: [PATCH 1/2] #122 fix bug --- src/main/resources/db/changelog-master.xml | 1 + .../db/common/changelog-20190507_000001-schema.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 src/main/resources/db/common/changelog-20190507_000001-schema.xml diff --git a/src/main/resources/db/changelog-master.xml b/src/main/resources/db/changelog-master.xml index 83ff280..63d7ccf 100644 --- a/src/main/resources/db/changelog-master.xml +++ b/src/main/resources/db/changelog-master.xml @@ -38,4 +38,5 @@ + \ No newline at end of file diff --git a/src/main/resources/db/common/changelog-20190507_000001-schema.xml b/src/main/resources/db/common/changelog-20190507_000001-schema.xml new file mode 100644 index 0000000..c320eba --- /dev/null +++ b/src/main/resources/db/common/changelog-20190507_000001-schema.xml @@ -0,0 +1,14 @@ + + + + + update grants + set leader_id = + (select u.id + from users u + where u.last_name = 'Романов' AND u.first_name = 'Антон'); + + + From 7ffe04f1dbb9f630ed66aba5423800628c6f234e Mon Sep 17 00:00:00 2001 From: T-Midnight Date: Tue, 7 May 2019 22:47:27 +0400 Subject: [PATCH 2/2] #122 move to right directory --- .../db/{common => }/changelog-20190507_000001-schema.xml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/main/resources/db/{common => }/changelog-20190507_000001-schema.xml (100%) diff --git a/src/main/resources/db/common/changelog-20190507_000001-schema.xml b/src/main/resources/db/changelog-20190507_000001-schema.xml similarity index 100% rename from src/main/resources/db/common/changelog-20190507_000001-schema.xml rename to src/main/resources/db/changelog-20190507_000001-schema.xml