Schema

io.eezo.db.Schema
See theSchema companion object
abstract class Schema

Attributes

Companion
object
Source
Schema.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

lazy val ddl: List[String]

Full DDL for an empty database: the diff from nothing to this schema.

Full DDL for an empty database: the diff from nothing to this schema.

Deliberately the same code path migrations take, so reset and migrate cannot produce different databases. Ordering (tables, then FKs, then indexes) comes from Differ.diff; column order is alphabetical, per DESIGN ยง3.2.

Attributes

Source
Schema.scala
lazy val dropAll: List[String]

Attributes

Source
Schema.scala
lazy val snapshot: SchemaSnap

Attributes

Source
Schema.scala