You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application has a public schema with the app-specific data and hdb_catalog schema with Hasura metadata. The following command was used during the schema export step:
The tool exports the following stored procedure of Hasura to the voyager_export_dir\schema\functions\functions.sql file:
CREATEFUNCTIONhdb_catalog.gen_hasura_uuid() RETURNS uuid
LANGUAGE sql
AS $$select gen_random_uuid()$$;
The analyze-schema and import schema commands complete succesfully and don't report any issues. But the stored procedure above (and all the others that are defined below it) are not imported. The import fails silently.
As a workaround, the stored procedure's format needs to be changed to the following:
CREATEFUNCTIONhdb_catalog.gen_hasura_uuid() RETURNS uuid
LANGUAGE sql
AS $$
select gen_random_uuid()
$$;
The text was updated successfully, but these errors were encountered:
I was migrating the following eCommerce application from PostgreSQL:
https://github.com/YugabyteDB-Samples/hasura-ecommerce
The application has a public schema with the app-specific data and
hdb_catalog
schema with Hasura metadata. The following command was used during theschema export
step:The tool exports the following stored procedure of Hasura to the
voyager_export_dir\schema\functions\functions.sql
file:The
analyze-schema
andimport schema
commands complete succesfully and don't report any issues. But the stored procedure above (and all the others that are defined below it) are not imported. The import fails silently.As a workaround, the stored procedure's format needs to be changed to the following:
The text was updated successfully, but these errors were encountered: