
BuildDb is a script for building a relational database schema from a list of types.
Slots
- create
-
Void create()
- db
-
abstract HavenService db
The database to build the schema for.
- ddl
-
Void ddl()
- defaultTarget
-
override Target defaultTarget()
The default target is
ddl
which just generates the DDL required to build the database. - model
-
protected DbModel model()
- types
-
abstract Type[] types
The list of types to include in the database.