Skip to content

DbUp/dbup-firebird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Workflow Status (branch) NuGet NuGet Prerelease

DbUp Firebird support

DbUp is a .NET library that helps you to deploy changes to relational databases. It tracks which SQL scripts have been run already, and runs the change scripts that are needed to get your database up to date. This Provider is for deploying to Firebird databases.

Getting Help

To learn more about DbUp check out the documentation

Please only log issue related to Firebird support in this repo. For cross cutting issues, please use our main issue list.

Contributing

See the readme in our main repo for how to get started and contribute.

Quirks concerning the Firebird implementation

The Journal Table for Firebird is called "schemaversions" i.e. with quotes. This can be confusing since other providers do not use quotes.

It will not be fixed because of backwards compatibility. You can check the content of the table by using

select * from "schemaversions"

In a new project you can also choose another name for the JournalTable instead like this:

    public static UpgradeEngineBuilder JournalToFirebirdTable(this UpgradeEngineBuilder builder)
    {
        builder.Configure(c => c.Journal = new FirebirdTableJournal(() => c.ConnectionManager, () => c.Log, "ABetterTableName"));
        return builder;