BEGIN; -- Version dependency checks DO $$ ASSERT current_module_version('PROFILES') = 1, 'Dependency version mismatch: PROFILES'; $$ LANGUAGE plpgsql; -- Plugin version history INSERT INTO version_history (component, from_version, to_version, author) VALUES ('AWESOME_PLUGIN', 0, 1, 'Initial Creation'); COMMIT;