Skip to content
Snippets Groups Projects
Commit 50d2a305 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix schema upgrade when dropping tables

We need to drop tables in the correct order due to foreign table
constraints (on `application_services`), otherwise the DROP TABLE
command will fail.

Introduced in #4992.
parent 644b8667
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,10 @@
* limitations under the License.
*/
DROP TABLE IF EXISTS application_services;
-- we need to do this first due to foreign constraints
DROP TABLE IF EXISTS application_services_regex;
DROP TABLE IF EXISTS application_services;
DROP TABLE IF EXISTS transaction_id_to_pdu;
DROP TABLE IF EXISTS stats_reporting;
DROP TABLE IF EXISTS current_state_resets;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment