mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-08-29 02:36:11 -06:00
Merge 6e652d6ea2
into 33a922995b
This commit is contained in:
commit
30b806c49e
@ -6,14 +6,4 @@ Warnings:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
-- AlterTable
|
-- AlterTable
|
||||||
DO $$
|
ALTER TABLE "Setting" ADD COLUMN IF NOT EXISTS "wavoipToken" VARCHAR(100);
|
||||||
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 $$;
|
|
||||||
|
Loading…
Reference in New Issue
Block a user