The project is in a healthy, maintained state
Adds sqlserver adapter to Fx gem to enable database migrations and schema to work with functions and triggers on applications using sqlserver as database
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

>= 1.5
>= 0
>= 0
>= 2.0

Runtime

>= 6.0.0
~> 0.6.2
>= 6.0.0
 Project Readme

F(x) Sqlserver Adapter

A Sqlserver adapter for the fx gem

Features

This adapter makes possible to use sqlserver database functions/procedures (under functions) and triggers with active record migrations and schema dump for them.

Installation

Add this line your gemfile

gem 'fx'
gem 'fx-sqlserver-adapter'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install fx-sqlserver-adapter

Usage

After that you will need to tell F(x) to use this adapter in an initializer config/initializer/fx.rb:

# frozen_string_literal: true

require 'fx/adapters/sqlserver'
if defined?(Fx)
  Fx.configuration.database = Fx::Adapters::Sqlserver.new
end

The generators for this gem still uses generators from the original fx gem.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tarellel/fx-sqlserver-adapter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.