From 9ceed79cf32c896f8a998399bf1b296506b2cd4a Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 8 Apr 2025 03:08:19 +0000 Subject: 로그인 및 미들웨어 처리. 구조 변경 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrations/0006_tan_mongu.sql | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 db/migrations/0006_tan_mongu.sql (limited to 'db/migrations/0006_tan_mongu.sql') diff --git a/db/migrations/0006_tan_mongu.sql b/db/migrations/0006_tan_mongu.sql deleted file mode 100644 index 418429d5..00000000 --- a/db/migrations/0006_tan_mongu.sql +++ /dev/null @@ -1,2 +0,0 @@ -DROP VIEW "public"."role_view";--> statement-breakpoint -CREATE VIEW "public"."role_view" AS (select "roles"."id" as "id", "roles"."name" as "name", "roles"."description" as "description", "roles"."domain" as "domain", "roles"."created_at" as "created_at", "companies"."id" as "company_id", "companies"."name" as "company_name", COUNT("users"."id") as "user_count" from "roles" left join "user_roles" on "user_roles"."role_id" = "roles"."id" left join "users" on "users"."id" = "user_roles"."user_id" left join "companies" on "roles"."company_id" = "companies"."id" group by "roles"."id", "companies"."id"); \ No newline at end of file -- cgit v1.2.3