Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data SchemaChange Source #
AddColumn (FQColumnName ()) | |
DropColumn (FQColumnName ()) | |
CreateTable (FQTableName ()) SchemaMember | |
DropTable (FQTableName ()) | |
CreateView (FQTableName ()) SchemaMember | |
DropView (FQTableName ()) | |
CreateSchema (FQSchemaName ()) SchemaMap | |
DropSchema (FQSchemaName ()) | |
CreateDatabase (DatabaseName ()) DatabaseMap | |
UsePath [UQSchemaName ()] |
data SchemaChangeError Source #
DatabaseMissing (DatabaseName ()) | |
SchemaMissing (FQSchemaName ()) | |
TableMissing (FQTableName ()) | |
ColumnMissing (FQColumnName ()) | |
DatabaseCollision (DatabaseName ()) | |
SchemaCollision (FQSchemaName ()) | |
TableCollision (FQTableName ()) | |
ColumnCollision (FQColumnName ()) | |
UnsupportedColumnChange (FQTableName ()) |
applySchemaChange :: SchemaChange -> Catalog -> (Catalog, [SchemaChangeError]) Source #
class HasSchemaChange q where Source #
getSchemaChange :: q -> [SchemaChange] Source #
toUQCN :: RColumnRef a -> UQColumnName () Source #