mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-06 07:45:35 +01:00
Update .gitignore and drop update_genre first
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
/target
|
/target
|
||||||
.vscode
|
/.vscode
|
||||||
|
/bruno
|
||||||
|
|||||||
@@ -830,6 +830,7 @@ 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