mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-06 07:45:35 +01:00
Remove DROP FUNCTION IF EXISTS from Genre update
This commit is contained in:
@@ -830,7 +830,6 @@ impl Update for Genre {
|
|||||||
async fn before_update(client: &Client) -> Result<(), Box<tokio_postgres::Error>> {
|
async fn before_update(client: &Client) -> Result<(), Box<tokio_postgres::Error>> {
|
||||||
match client.execute(
|
match client.execute(
|
||||||
"
|
"
|
||||||
DROP FUNCTION IF EXISTS update_genre(smallint, integer, character varying, character varying, character varying);
|
|
||||||
CREATE OR REPLACE FUNCTION update_genre(
|
CREATE OR REPLACE FUNCTION update_genre(
|
||||||
source_ smallint, remote_id_ int, code_ varchar, description_ varchar, meta_ varchar
|
source_ smallint, remote_id_ int, code_ varchar, description_ varchar, meta_ varchar
|
||||||
) RETURNS void AS $$
|
) RETURNS void AS $$
|
||||||
|
|||||||
Reference in New Issue
Block a user