SchemaManager class abstract interface

Interface for schema management and migrations.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateSchemaScript() Future<String>
Generates the SQL script to initialize the schema without executing it.
getTables() Future<List<TableMetadata>>
Inspects the current database schema.
initializeSchema() Future<void>
Initializes the schema based on entity definitions.
migrateSchema() Future<void>
Migrates the schema to the latest version.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSchema(SchemaDefinition schema) → void
Sets the desired schema for the database.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited