From 6560e400f35b9bb107a5f497b983a49fd8c7738b Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Mon, 29 Jul 2019 16:46:17 +0200 Subject: [PATCH] refactoring: move sql files --- resources/{ => sql}/functions/article/find_article_by_id.sql | 0 .../functions/article/find_last_article_by_version_id.sql | 0 resources/{ => sql}/functions/article/upsert_article.sql | 0 resources/{ => sql}/functions/citizen/find_citizen_by_id.sql | 0 resources/{ => sql}/functions/citizen/find_citizen_by_user_id.sql | 0 resources/{ => sql}/functions/citizen/upsert_citizen.sql | 0 resources/{ => sql}/functions/comment/comment.sql | 0 resources/{ => sql}/functions/comment/edit_comment.sql | 0 .../functions/constitution/create_title_in_constitution.sql | 0 .../{ => sql}/functions/constitution/find_constitution_by_id.sql | 0 .../functions/constitution/find_constitution_title_by_id.sql | 0 .../functions/constitution/find_constitution_titles_by_id.sql | 0 .../{ => sql}/functions/constitution/upsert_constitution.sql | 0 resources/{ => sql}/functions/follow/follow.sql | 0 resources/{ => sql}/functions/follow/unfollow.sql | 0 resources/{ => sql}/functions/user/check_user.sql | 0 resources/{ => sql}/functions/user/find_user_by_id.sql | 0 resources/{ => sql}/functions/user/find_user_by_username.sql | 0 resources/{ => sql}/functions/user/insert_user.sql | 0 resources/{ => sql}/functions/vote/vote.sql | 0 resources/{ => sql}/tests/article.sql | 0 resources/{ => sql}/tests/citizen.sql | 0 resources/{ => sql}/tests/comment.sql | 0 resources/{ => sql}/tests/constitution.sql | 0 resources/{ => sql}/tests/follow.sql | 0 resources/{ => sql}/tests/user.sql | 0 resources/{ => sql}/tests/vote.sql | 0 27 files changed, 0 insertions(+), 0 deletions(-) rename resources/{ => sql}/functions/article/find_article_by_id.sql (100%) rename resources/{ => sql}/functions/article/find_last_article_by_version_id.sql (100%) rename resources/{ => sql}/functions/article/upsert_article.sql (100%) rename resources/{ => sql}/functions/citizen/find_citizen_by_id.sql (100%) rename resources/{ => sql}/functions/citizen/find_citizen_by_user_id.sql (100%) rename resources/{ => sql}/functions/citizen/upsert_citizen.sql (100%) rename resources/{ => sql}/functions/comment/comment.sql (100%) rename resources/{ => sql}/functions/comment/edit_comment.sql (100%) rename resources/{ => sql}/functions/constitution/create_title_in_constitution.sql (100%) rename resources/{ => sql}/functions/constitution/find_constitution_by_id.sql (100%) rename resources/{ => sql}/functions/constitution/find_constitution_title_by_id.sql (100%) rename resources/{ => sql}/functions/constitution/find_constitution_titles_by_id.sql (100%) rename resources/{ => sql}/functions/constitution/upsert_constitution.sql (100%) rename resources/{ => sql}/functions/follow/follow.sql (100%) rename resources/{ => sql}/functions/follow/unfollow.sql (100%) rename resources/{ => sql}/functions/user/check_user.sql (100%) rename resources/{ => sql}/functions/user/find_user_by_id.sql (100%) rename resources/{ => sql}/functions/user/find_user_by_username.sql (100%) rename resources/{ => sql}/functions/user/insert_user.sql (100%) rename resources/{ => sql}/functions/vote/vote.sql (100%) rename resources/{ => sql}/tests/article.sql (100%) rename resources/{ => sql}/tests/citizen.sql (100%) rename resources/{ => sql}/tests/comment.sql (100%) rename resources/{ => sql}/tests/constitution.sql (100%) rename resources/{ => sql}/tests/follow.sql (100%) rename resources/{ => sql}/tests/user.sql (100%) rename resources/{ => sql}/tests/vote.sql (100%) diff --git a/resources/functions/article/find_article_by_id.sql b/resources/sql/functions/article/find_article_by_id.sql similarity index 100% rename from resources/functions/article/find_article_by_id.sql rename to resources/sql/functions/article/find_article_by_id.sql diff --git a/resources/functions/article/find_last_article_by_version_id.sql b/resources/sql/functions/article/find_last_article_by_version_id.sql similarity index 100% rename from resources/functions/article/find_last_article_by_version_id.sql rename to resources/sql/functions/article/find_last_article_by_version_id.sql diff --git a/resources/functions/article/upsert_article.sql b/resources/sql/functions/article/upsert_article.sql similarity index 100% rename from resources/functions/article/upsert_article.sql rename to resources/sql/functions/article/upsert_article.sql diff --git a/resources/functions/citizen/find_citizen_by_id.sql b/resources/sql/functions/citizen/find_citizen_by_id.sql similarity index 100% rename from resources/functions/citizen/find_citizen_by_id.sql rename to resources/sql/functions/citizen/find_citizen_by_id.sql diff --git a/resources/functions/citizen/find_citizen_by_user_id.sql b/resources/sql/functions/citizen/find_citizen_by_user_id.sql similarity index 100% rename from resources/functions/citizen/find_citizen_by_user_id.sql rename to resources/sql/functions/citizen/find_citizen_by_user_id.sql diff --git a/resources/functions/citizen/upsert_citizen.sql b/resources/sql/functions/citizen/upsert_citizen.sql similarity index 100% rename from resources/functions/citizen/upsert_citizen.sql rename to resources/sql/functions/citizen/upsert_citizen.sql diff --git a/resources/functions/comment/comment.sql b/resources/sql/functions/comment/comment.sql similarity index 100% rename from resources/functions/comment/comment.sql rename to resources/sql/functions/comment/comment.sql diff --git a/resources/functions/comment/edit_comment.sql b/resources/sql/functions/comment/edit_comment.sql similarity index 100% rename from resources/functions/comment/edit_comment.sql rename to resources/sql/functions/comment/edit_comment.sql diff --git a/resources/functions/constitution/create_title_in_constitution.sql b/resources/sql/functions/constitution/create_title_in_constitution.sql similarity index 100% rename from resources/functions/constitution/create_title_in_constitution.sql rename to resources/sql/functions/constitution/create_title_in_constitution.sql diff --git a/resources/functions/constitution/find_constitution_by_id.sql b/resources/sql/functions/constitution/find_constitution_by_id.sql similarity index 100% rename from resources/functions/constitution/find_constitution_by_id.sql rename to resources/sql/functions/constitution/find_constitution_by_id.sql diff --git a/resources/functions/constitution/find_constitution_title_by_id.sql b/resources/sql/functions/constitution/find_constitution_title_by_id.sql similarity index 100% rename from resources/functions/constitution/find_constitution_title_by_id.sql rename to resources/sql/functions/constitution/find_constitution_title_by_id.sql diff --git a/resources/functions/constitution/find_constitution_titles_by_id.sql b/resources/sql/functions/constitution/find_constitution_titles_by_id.sql similarity index 100% rename from resources/functions/constitution/find_constitution_titles_by_id.sql rename to resources/sql/functions/constitution/find_constitution_titles_by_id.sql diff --git a/resources/functions/constitution/upsert_constitution.sql b/resources/sql/functions/constitution/upsert_constitution.sql similarity index 100% rename from resources/functions/constitution/upsert_constitution.sql rename to resources/sql/functions/constitution/upsert_constitution.sql diff --git a/resources/functions/follow/follow.sql b/resources/sql/functions/follow/follow.sql similarity index 100% rename from resources/functions/follow/follow.sql rename to resources/sql/functions/follow/follow.sql diff --git a/resources/functions/follow/unfollow.sql b/resources/sql/functions/follow/unfollow.sql similarity index 100% rename from resources/functions/follow/unfollow.sql rename to resources/sql/functions/follow/unfollow.sql diff --git a/resources/functions/user/check_user.sql b/resources/sql/functions/user/check_user.sql similarity index 100% rename from resources/functions/user/check_user.sql rename to resources/sql/functions/user/check_user.sql diff --git a/resources/functions/user/find_user_by_id.sql b/resources/sql/functions/user/find_user_by_id.sql similarity index 100% rename from resources/functions/user/find_user_by_id.sql rename to resources/sql/functions/user/find_user_by_id.sql diff --git a/resources/functions/user/find_user_by_username.sql b/resources/sql/functions/user/find_user_by_username.sql similarity index 100% rename from resources/functions/user/find_user_by_username.sql rename to resources/sql/functions/user/find_user_by_username.sql diff --git a/resources/functions/user/insert_user.sql b/resources/sql/functions/user/insert_user.sql similarity index 100% rename from resources/functions/user/insert_user.sql rename to resources/sql/functions/user/insert_user.sql diff --git a/resources/functions/vote/vote.sql b/resources/sql/functions/vote/vote.sql similarity index 100% rename from resources/functions/vote/vote.sql rename to resources/sql/functions/vote/vote.sql diff --git a/resources/tests/article.sql b/resources/sql/tests/article.sql similarity index 100% rename from resources/tests/article.sql rename to resources/sql/tests/article.sql diff --git a/resources/tests/citizen.sql b/resources/sql/tests/citizen.sql similarity index 100% rename from resources/tests/citizen.sql rename to resources/sql/tests/citizen.sql diff --git a/resources/tests/comment.sql b/resources/sql/tests/comment.sql similarity index 100% rename from resources/tests/comment.sql rename to resources/sql/tests/comment.sql diff --git a/resources/tests/constitution.sql b/resources/sql/tests/constitution.sql similarity index 100% rename from resources/tests/constitution.sql rename to resources/sql/tests/constitution.sql diff --git a/resources/tests/follow.sql b/resources/sql/tests/follow.sql similarity index 100% rename from resources/tests/follow.sql rename to resources/sql/tests/follow.sql diff --git a/resources/tests/user.sql b/resources/sql/tests/user.sql similarity index 100% rename from resources/tests/user.sql rename to resources/sql/tests/user.sql diff --git a/resources/tests/vote.sql b/resources/sql/tests/vote.sql similarity index 100% rename from resources/tests/vote.sql rename to resources/sql/tests/vote.sql