diff --git a/lib/event_store/tasks/migrate.ex b/lib/event_store/tasks/migrate.ex index 9cd12c5c..7dcd29fd 100644 --- a/lib/event_store/tasks/migrate.ex +++ b/lib/event_store/tasks/migrate.ex @@ -9,7 +9,8 @@ defmodule EventStore.Tasks.Migrate do @available_migrations [ "0.13.0", "0.14.0", - "0.17.0" + "0.17.0", + "1.1.0" ] @dialyzer {:no_return, exec: 2, handle_response: 1} diff --git a/priv/event_store/migrations/v1.1.0.sql b/priv/event_store/migrations/v1.1.0.sql index 30574bd3..88779e31 100644 --- a/priv/event_store/migrations/v1.1.0.sql +++ b/priv/event_store/migrations/v1.1.0.sql @@ -2,7 +2,7 @@ DO $$ BEGIN CREATE OR REPLACE FUNCTION notify_events() - RETURNS trigger AS $$ + RETURNS trigger AS $func$ DECLARE channel text; payload text; @@ -22,7 +22,7 @@ BEGIN RETURN NULL; END; - $$ LANGUAGE plpgsql; + $func$ LANGUAGE plpgsql; -- Record schema migration INSERT INTO schema_migrations (major_version, minor_version, patch_version) VALUES (1, 1, 0);