feat: secure KYC storage, Google OAuth, terms gating
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `ktpImageUrl` on the `OrganizerVerification` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `nik` on the `OrganizerVerification` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `selfieUrl` on the `OrganizerVerification` table. All the data in the column will be lost.
|
||||
- A unique constraint covering the columns `[nikHash]` on the table `OrganizerVerification` will be added. If there are existing duplicate values, this will fail.
|
||||
- Added the required column `ktpImageKey` to the `OrganizerVerification` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `nikEncrypted` to the `OrganizerVerification` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `nikHash` to the `OrganizerVerification` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `selfieKey` to the `OrganizerVerification` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- DropIndex
|
||||
DROP INDEX "OrganizerVerification_nik_key";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "OrganizerVerification" DROP COLUMN "ktpImageUrl",
|
||||
DROP COLUMN "nik",
|
||||
DROP COLUMN "selfieUrl",
|
||||
ADD COLUMN "ktpImageKey" TEXT NOT NULL,
|
||||
ADD COLUMN "nikEncrypted" TEXT NOT NULL,
|
||||
ADD COLUMN "nikHash" TEXT NOT NULL,
|
||||
ADD COLUMN "selfieKey" TEXT NOT NULL;
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "OrganizerVerification_nikHash_key" ON "OrganizerVerification"("nikHash");
|
||||
Reference in New Issue
Block a user