diff --git a/.gitignore b/.gitignore index 9026c77..67f3cba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target -.vscode +/.vscode +/bruno diff --git a/src/types.rs b/src/types.rs index 3009515..65ae476 100644 --- a/src/types.rs +++ b/src/types.rs @@ -830,6 +830,7 @@ impl Update for Genre { async fn before_update(client: &Client) -> Result<(), Box> { match client.execute( " + DROP FUNCTION IF EXISTS update_genre(smallint, integer, character varying, character varying, character varying); CREATE OR REPLACE FUNCTION update_genre( source_ smallint, remote_id_ int, code_ varchar, description_ varchar, meta_ varchar ) RETURNS void AS $$