-- @dhcpdb_create.pgsql
--- Start a single transaction for the Entire script
+-- Start a single transaction for the entire script.
START TRANSACTION;
-- Holds the IPv4 leases.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 3.0.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 3.1.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 3.2.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 3.3.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 4.0.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 5.0.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 5.1.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 6.0.
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 6.1.
psql "$@" >/dev/null <<EOF
+START TRANSACTION;
+
-- This line starts the schema upgrade to version 6.2.
-- Starting from this version we allow specifying multiple IP reservations
fi
psql "$@" >/dev/null <<EOF
-
START TRANSACTION;
-- This line starts the schema upgrade to version 7.0.