-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TinyTds::Error: Type T_FK is not a defined system type. #844
Comments
FREETDS version
|
I'm having the exact issue. Were you able to solve this? |
To be more helpful, this is caused by connecting to our ERP 2012 SQL Server DB. It would be helpful to know how to pass custom system types to TinyTDS. Many of these are datatypes are glorified strings. Is it possible to map, for instance, SiteType = String, somewhere, so that TinyTDS can handle? |
There is an article about using custom data types in Rails with PostgreSQL https://pganalyze.com/blog/custom-postgres-data-types-ruby-rails The same technique might work for the SQL Server adapter but I've never tried it myself. |
Rails version 6
multi database using
for example if run db:rollback
got error:
--trace log
The text was updated successfully, but these errors were encountered: