commit 5020b1734d3cb9b02d722413890c34d99b89a5e7
parent 032865011b1705a683b651be6b747fc80ba79f8b
Author: Florian Dold <florian@dold.me>
Date: Wed, 7 May 2025 21:39:13 +0200
remove unused SQL file
Diffstat:
1 file changed, 0 insertions(+), 59 deletions(-)
diff --git a/src/exchangedb/0007-wire_targets.sql b/src/exchangedb/0007-wire_targets.sql
@@ -1,59 +0,0 @@
---
--- This file is part of TALER
--- Copyright (C) 2024 Taler Systems SA
---
--- TALER is free software; you can redistribute it and/or modify it under the
--- terms of the GNU General Public License as published by the Free Software
--- Foundation; either version 3, or (at your option) any later version.
---
--- TALER is distributed in the hope that it will be useful, but WITHOUT ANY
--- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
--- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License along with
--- TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
---
-
-CREATE FUNCTION alter_table_wire_targets7()
-RETURNS VOID
-LANGUAGE plpgsql
-AS $$
-BEGIN
- EXECUTE FORMAT (
- 'ALTER TABLE wire_targets'
-
- );
-
-
-
-
-CREATE FUNCTION constrain_table_wire_targets7(
- IN partition_suffix TEXT
-)
-RETURNS void
-LANGUAGE plpgsql
-AS $$
-DECLARE
- table_name TEXT DEFAULT 'wire_targets';
-BEGIN
- table_name = concat_ws('_', table_name, partition_suffix);
-END
-$$;
-
-INSERT INTO exchange_tables
- (name
- ,version
- ,action
- ,partitioned
- ,by_range)
- VALUES
- ('wire_targets7'
- ,'exchange-0007'
- ,'alter'
- ,TRUE
- ,FALSE),
- ('wire_targets7'
- ,'exchange-0007'
- ,'constrain'
- ,TRUE
- ,FALSE);