Rails - dump database structure for SQL Server
Dumping structure with rake db:structure:dump task when connecting to SQL Server will fail with scptxfr not found error.
command not found: scptxfr /s /d /I /F db /q /A /r
Thats documented in #3298. However dump of database structure can be easily achived from ActiveRecord:
script/console
>> ActiveRecord::SchemaDumper.dump
I am Bojan Mihelac and this blog is dedicated to share code, thoughts, tools and advices I came up with while working in