[typo] Migration 38

Kevin Kubasik kevin at kubasik.net
Sat Mar 18 09:26:45 EST 2006


the upgrade kinda worked, I now have the blog table, but get this error
Processing GeneralController#index (for 69.140.109.194 at 2006-03-1809:23:53) [GET]  Parameters: {"action"=>"index", "controller"=>"admin/general"}

ActiveRecord::StatementInvalid (Mysql::Error: Table 'typo.settings'doesn't exist: SELECT * FROM settings ):    /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in`log'    /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:in`execute'    /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:322:in`select'    /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:171:in`select_all'    /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:431:in`find_by_sql'    /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:395:in`find'    /app/models/config_manager.rb:13:in `reload'    /app/controllers/application.rb:53:in `reload_settings'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:354:in`call_filters'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:350:in`call_filters'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:339:in`before_action'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:331:in`perform_action_without_benchmark'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue'    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in`perform_action'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in`process_without_session_management_support'    /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in`process'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in`process_request'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in`process!'    /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'    /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in`process!'    /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in`process!'    /public/dispatch.fcgi:24
On 3/18/06, Kevin Ballard <kevin at sb.org> wrote:> Ok, revision 922 fixes this. You can now upgrade via the admin> interface again.>> For future reference, you can upgrade from the command-line by> running `rake migrate RAILS_ENV=production` from the root folder of> your typo installation (this upgrades the production database, use> RAILS_ENV=development to upgrade development if you have it).>> On Mar 17, 2006, at 11:02 PM, cedric wrote:>> > How can I run migration 38 manually? I have problems since I update to> > revision 915...> >> > typo just says "typo_development.blogs" doesn't exist...>> --> Kevin Ballard> kevin at sb.org> http://kevin.sb.org> http://www.tildesoft.com>>>>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>>>

--Cheers,Kevin Kubasikhttp://blog.kubasik.net/


More information about the Typo-list mailing list