mte/include/sql/exchange-0003.sql.in

35 lines
1.3 KiB
MySQL
Raw Normal View History

2025-11-11 10:03:07 +01:00
--
-- This file is part of TALER
-- Copyright (C) 2025 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/>
--
BEGIN;
SELECT _v.register_patch('exchange-0003', NULL, NULL);
SET search_path TO exchange;
#include "0003-kyc_targets.sql"
#include "0003-legitimization_measures.sql"
#include "0003-legitimization_outcomes.sql"
#include "0003-legitimization_processes.sql"
-- Note that wire_targets MUST be after kyc_targets and
-- legitimization measures here,
-- as we first need to create kyc_targets and migrate the
-- data before dropping it in wire_targets!
#include "0003-wire_targets.sql"
-- This table was already dead in v1.0, drop it for real
#include "0003-reserves_out.sql"
COMMIT;