DHH wrote: >> This seems to be significant shortcoming. I would think that schema.rb >> should be generated with appropriate options for table type, character >> set, collations and probably other stuff too. > > All that is database specific. schema.rb doesn't deal with database- > specific things. If you need those, you'd want to use the SQL-based > schema dump instead. See > > # Use SQL instead of Active Record's schema dumper when creating the > test database. > # This is necessary if your schema can't be completely dumped by the > schema dumper, > # like if you have constraints or database-specific column types > # config.active_record.schema_format = :sql > > in the config/environment.rb and rake db:structure:dump.
Ah. Sorry I didn't see that. Thx for thinking of the alternative. -- gw -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
