SqliteSchemaGenerator class

Generates Dart files containing SQL migration strings.

Constructors

SqliteSchemaGenerator({required SchemaVersionManager schemaVersionManager, required SupabaseGenConfig config, Logger? logger})

Properties

config → SupabaseGenConfig
final
hashCode → int
The hash code for this object.
no setterinherited
outputDirectory → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaVersionManager → SchemaVersionManager
final

Methods

generate(List<SupabaseTableInfo> currentTables) → Future<int>
Generates Dart migration files based on schema changes. Returns the highest migration version number generated.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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