mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
[AC-1682] Removed dropping temporary table from scripts
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
-- Step 1: AccessAll migration for Groups
|
-- Step 1: AccessAll migration for Groups
|
||||||
-- Create a temporary table to store the groups with AccessAll = 1
|
-- Create a temporary table to store the groups with AccessAll = 1
|
||||||
DROP TEMPORARY TABLE IF EXISTS `TempGroupsAccessAll`;
|
|
||||||
CREATE TEMPORARY TABLE `TempGroupsAccessAll` AS
|
CREATE TEMPORARY TABLE `TempGroupsAccessAll` AS
|
||||||
SELECT `G`.`Id` AS `GroupId`,
|
SELECT `G`.`Id` AS `GroupId`,
|
||||||
`G`.`OrganizationId`
|
`G`.`OrganizationId`
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
-- Step 1: AccessAll migration for Groups
|
-- Step 1: AccessAll migration for Groups
|
||||||
-- Create a temporary table to store the groups with AccessAll = true
|
-- Create a temporary table to store the groups with AccessAll = true
|
||||||
DROP TABLE IF EXISTS "TempGroupsAccessAll";
|
|
||||||
CREATE TEMPORARY TABLE "TempGroupsAccessAll" AS
|
CREATE TEMPORARY TABLE "TempGroupsAccessAll" AS
|
||||||
SELECT "G"."Id" AS "GroupId",
|
SELECT "G"."Id" AS "GroupId",
|
||||||
"G"."OrganizationId"
|
"G"."OrganizationId"
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
-- Step 1: AccessAll migration for Groups
|
-- Step 1: AccessAll migration for Groups
|
||||||
-- Create a temporary table to store the groups with AccessAll = 1
|
-- Create a temporary table to store the groups with AccessAll = 1
|
||||||
DROP TABLE IF EXISTS "TempGroupsAccessAll";
|
|
||||||
CREATE TEMPORARY TABLE "TempGroupsAccessAll" AS
|
CREATE TEMPORARY TABLE "TempGroupsAccessAll" AS
|
||||||
SELECT "G"."Id" AS "GroupId",
|
SELECT "G"."Id" AS "GroupId",
|
||||||
"G"."OrganizationId"
|
"G"."OrganizationId"
|
||||||
|
Reference in New Issue
Block a user