Update migration.sql

This commit is contained in:
Caíque Zanetoni Fim 2025-08-18 08:43:21 -03:00 committed by GitHub
parent 9cdb897a0f
commit 6e652d6ea2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,14 +6,4 @@ Warnings:
*/
-- AlterTable
DO $$
BEGIN
IF NOT EXISTS (
SELECT 1
FROM information_schema.columns
WHERE table_name = 'Setting'
AND column_name = 'wavoipToken'
) THEN
ALTER TABLE "Setting" ADD COLUMN "wavoipToken" VARCHAR(100);
END IF;
END $$;
ALTER TABLE "Setting" ADD COLUMN IF NOT EXISTS "wavoipToken" VARCHAR(100);