Skip to content

Article: How to add support for a new database #2

Open
@fubar-coder

Description

@fubar-coder

From the Gitter chat:

New database support usually involves the following steps:

  • Create a new project (e.g. FluentMigrator.Runner.Snowflake) and copy all code from the database that is compatible with Snowflake.
  • Add unit tests for the generated syntax (found under Unit/Generators in the test project)
  • Add integration unit tests (found under Integration/Processors in the test project)
  • Add an example connection string to appsettings.json for the test project
  • Maybe a small comment what's the easiest to test this database during FluentMigrator development

Some databases contain features that aren't covered by FluentMigrator by default. The code to use these features (from your migration) needs to be put into a separate FluentMigrator.Extensions.Snowflake assembly. The extensions are the consumed/processed by the Snowflake processor. We already have extension assemblies for Oracle, SQL Anywhere and the SQL Server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions