Commit 5c0253f3 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3681] destroySchema is now working properly.

parent c7b4119b
......@@ -37,10 +37,14 @@ const char* destroy_statement[] = {
"DROP TABLE lease6_types",
"DROP TABLE lease_hwaddr_source",
"DROP TABLE schema_version",
// We need to drop ipv6_reservations before hosts, as it has constrains
// that depend on hosts. Therefore hosts table cannot be deleted while
// ipv6_reservations exists.
"DROP TABLE ipv6_reservations",
"DROP TABLE hosts",
"DROP TABLE dhcp4_options",
"DROP TABLE dhcp6_options",
"DROP TABLE ipv6_reservations",
NULL
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment