com.convergencelabs.convergence.server.backend.db.schema.InstallDeltaAndScript.scala Maven / Gradle / Ivy
/*
* Copyright (c) 2019 - Convergence Labs, Inc.
*
* This file is part of the Convergence Server, which is released under
* the terms of the GNU General Public License version 3 (GPLv3). A copy
* of the GPLv3 should have been provided along with this file, typically
* located in the "LICENSE" file, which is part of this source code package.
* Alternatively, see for the
* full text of the GPLv3 license, if it was not provided.
*/
package com.convergencelabs.convergence.server.backend.db.schema
import com.convergencelabs.convergence.server.backend.db.schema.delta.Delta
/**
* A deserialized installation delta along with the raw script it was parsed from.
*
* @param version The version of the schema the detla installs
* @param delta The parsed delta as an ADT.
* @param script The raw delta script.
*/
private[schema] final case class InstallDeltaAndScript(version: String, delta: Delta, script: String)