From 134f7a69b7e047fe754c1f4fbcc6d6b30908e151 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Wed, 21 Oct 2020 11:40:27 +0500 Subject: [PATCH] Move files --- .../2020-10-21-044318_create_employees/up.sql | 4 ++-- public/{ => database_files}/kotovalexarian.jpg | Bin public/{ => database_files}/xuhcc.png | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename public/{ => database_files}/kotovalexarian.jpg (100%) rename public/{ => database_files}/xuhcc.png (100%) diff --git a/migrations/2020-10-21-044318_create_employees/up.sql b/migrations/2020-10-21-044318_create_employees/up.sql index ac43ae1..b4df85d 100644 --- a/migrations/2020-10-21-044318_create_employees/up.sql +++ b/migrations/2020-10-21-044318_create_employees/up.sql @@ -36,7 +36,7 @@ CREATE UNIQUE INDEX index_employee_contacts_on_employee_id WITH employee_ids AS ( INSERT INTO employees (image, name, role) - VALUES ('/kotovalexarian.jpg', 'Alex Kotov', 'Founder') + VALUES ('/database_files/kotovalexarian.jpg', 'Alex Kotov', 'Founder') RETURNING id AS employee_id ) @@ -53,7 +53,7 @@ WITH employee_ids AS ( WITH employee_ids AS ( INSERT INTO employees (image, name, role) - VALUES ('/xuhcc.png', 'Kirill Goncharov', 'System administrator') + VALUES ('/database_files/xuhcc.png', 'Kirill Goncharov', 'System administrator') RETURNING id AS employee_id ) diff --git a/public/kotovalexarian.jpg b/public/database_files/kotovalexarian.jpg similarity index 100% rename from public/kotovalexarian.jpg rename to public/database_files/kotovalexarian.jpg diff --git a/public/xuhcc.png b/public/database_files/xuhcc.png similarity index 100% rename from public/xuhcc.png rename to public/database_files/xuhcc.png