mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-06-25 15:37:42 +00:00
13 lines
403 B
MySQL
13 lines
403 B
MySQL
-- WASM plugin runtime hardening
|
|||
|
|||
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
|||
|
|||
ALTER TABLE plugins
|
|||
ADD COLUMN IF NOT EXISTS default_settings JSONB NOT NULL DEFAULT '{}'::jsonb;
|
|||
|
|||
ALTER TABLE community_plugin_packages
|
|||
ADD COLUMN IF NOT EXISTS settings JSONB NOT NULL DEFAULT '{}'::jsonb;
|
|||
|
|||
CREATE INDEX IF NOT EXISTS idx_community_plugin_packages_active
|
|||
ON community_plugin_packages(community_id, is_active);
|