Created
February 18, 2013 11:36
-
-
Save krishnasrihari/4976772 to your computer and use it in GitHub Desktop.
Rake migrate error for setup yutongo app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
krishna@ubuntu:~/oDesk/yutongo$ rake db:setup | |
rake/gempackagetask is deprecated. Use rubygems/package_task instead | |
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. | |
at /home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/hoe-1.1.7/lib/hoe.rb:95: Use RbConfig instead of obsolete and deprecated Config. | |
yutongo_test already exists | |
[RailsAdmin] RailsAdmin initialization disabled by default. Pass SKIP_RAILS_ADMIN_INITIALIZER=false if you need it. | |
-- create_table("accounts", {:force=>true}) | |
-> 0.2307s | |
-- add_index("accounts", ["subdomain"], {:name=>"index_accounts_on_subdomain", :unique=>true}) | |
-> 0.3145s | |
-- create_table("admin_users", {:force=>true}) | |
-> 0.2764s | |
-- add_index("admin_users", ["email"], {:name=>"index_admin_users_on_email", :unique=>true}) | |
-> 0.2981s | |
-- create_table("attachments", {:force=>true}) | |
-> 0.1877s | |
-- create_table("authentications", {:force=>true}) | |
-> 0.2098s | |
-- create_table("badges", {:force=>true}) | |
-> 0.2100s | |
-- create_table("batch_payment_notifications", {:force=>true}) | |
-> 0.2097s | |
-- create_table("batch_payments", {:force=>true}) | |
-> 0.2042s | |
-- create_table("comments", {:force=>true}) | |
-> 0.2088s | |
-- add_index("comments", ["commentable_id"], {:name=>"index_comments_on_commentable_id"}) | |
-> 0.2848s | |
-- add_index("comments", ["user_id"], {:name=>"index_comments_on_user_id"}) | |
-> 0.2877s | |
-- create_table("communications", {:force=>true}) | |
-> 0.2094s | |
-- create_table("conversations", {:force=>true}) | |
-> 0.1988s | |
-- create_table("criterias", {:force=>true}) | |
-> 0.4931s | |
-- create_table("disputes", {:force=>true}) | |
-> 0.2352s | |
-- create_table("ideas", {:force=>true}) | |
-> 0.1939s | |
-- create_table("ideation_processes", {:force=>true}) | |
-> 0.1930s | |
-- add_index("ideation_processes", ["user_id"], {:name=>"index_ideation_processes_on_user_id"}) | |
-> 0.3098s | |
-- create_table("ideation_tasks", {:force=>true}) | |
-> 0.2452s | |
-- create_table("images", {:force=>true}) | |
-> 0.1760s | |
-- create_table("industries", {:force=>true}) | |
-> 0.1657s | |
-- create_table("innovators", {:force=>true}) | |
-> 0.1880s | |
-- create_table("invitations", {:force=>true}) | |
-> 0.1991s | |
-- create_table("languages", {:force=>true}) | |
-> 0.2062s | |
-- create_table("memberships", {:force=>true}) | |
-> 0.1805s | |
-- create_table("notifications", {:force=>true}) | |
-> 0.1934s | |
-- add_index("notifications", ["conversation_id"], {:name=>"index_notifications_on_conversation_id"}) | |
-> 0.3155s | |
-- create_table("orders", {:force=>true}) | |
-> 0.2204s | |
-- create_table("paid_notifications", {:force=>true}) | |
-> 0.1878s | |
-- create_table("payment_notifications", {:force=>true}) | |
-> 0.1893s | |
-- create_table("payments", {:force=>true}) | |
-> 0.1988s | |
-- create_table("pdf_files", {:force=>true}) | |
-> 0.1990s | |
-- create_table("plans", {:force=>true}) | |
-> 0.1989s | |
-- create_table("preapprove_payments", {:force=>true}) | |
-> 0.2062s | |
-- create_table("preapproved_payment_notifications", {:force=>true}) | |
-> 0.2089s | |
-- create_table("process_steps", {:force=>true}) | |
-> 0.1980s | |
-- create_table("projects", {:force=>true}) | |
-> 0.2266s | |
-- add_index("projects", ["account_id"], {:name=>"index_projects_on_account_id"}) | |
-> 0.3211s | |
-- create_table("questions", {:force=>true}) | |
-> 0.1893s | |
-- create_table("rails_admin_histories", {:force=>true}) | |
-> 0.1760s | |
-- add_index("rails_admin_histories", ["item", "table", "month", "year"], {:name=>"index_rails_admin_histories"}) | |
-> 0.3210s | |
-- create_table("rates", {:force=>true}) | |
-> 0.1987s | |
-- add_index("rates", ["rateable_id", "rateable_type"], {:name=>"index_rates_on_rateable_id_and_rateable_type"}) | |
-> 0.2943s | |
-- add_index("rates", ["rater_id"], {:name=>"index_rates_on_rater_id"}) | |
-> 0.7044s | |
-- create_table("receipts", {:force=>true}) | |
-> 0.3703s | |
-- add_index("receipts", ["notification_id"], {:name=>"index_receipts_on_notification_id"}) | |
-> 0.3117s | |
-- create_table("reported_contents", {:force=>true}) | |
-> 0.1754s | |
-- create_table("sessions", {:force=>true}) | |
-> 0.1769s | |
-- add_index("sessions", ["session_id"], {:name=>"index_sessions_on_session_id"}) | |
-> 0.3110s | |
-- add_index("sessions", ["updated_at"], {:name=>"index_sessions_on_updated_at"}) | |
-> 0.3156s | |
-- create_table("skill_users", {:force=>true}) | |
-> 0.1979s | |
-- create_table("skills", {:force=>true}) | |
-> 0.1978s | |
-- create_table("subscriptions", {:force=>true}) | |
-> 0.2172s | |
-- create_table("taggings", {:force=>true}) | |
-> 0.1785s | |
-- add_index("taggings", ["tag_id"], {:name=>"index_taggings_on_tag_id"}) | |
-> 0.2756s | |
-- add_index("taggings", ["taggable_id", "taggable_type"], {:name=>"index_taggings_on_taggable_id_and_taggable_type"}) | |
-> 0.2982s | |
-- create_table("tags", {:force=>true}) | |
-> 0.2109s | |
-- create_table("tools", {:force=>true}) | |
-> 0.2166s | |
-- create_table("user_demographics", {:force=>true}) | |
-> 0.2090s | |
-- create_table("users", {:force=>true}) | |
-> 0.2089s | |
-- create_table("users_badges", {:force=>true}) | |
-> 0.1871s | |
-- add_foreign_key("notifications", "conversations", {:name=>"notifications_on_conversation_id"}) | |
-> 0.4166s | |
-- add_foreign_key("receipts", "notifications", {:name=>"receipts_on_notification_id"}) | |
-> 0.3539s | |
-- initialize_schema_migrations_table() | |
-> 0.4552s | |
-- assume_migrated_upto_version(20130214075819, ["/home/krishna/oDesk/yutongo/db/migrate"]) | |
-> 9.5479s | |
rake aborted! | |
Mysql2::Error: Unknown column 'accounts.deleted_at' in 'where clause': SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1 | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/mysql2_adapter.rb:687:in `query' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/mysql2_adapter.rb:687:in `block in exec_query' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/mysql2_adapter.rb:685:in `exec_query' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/mysql2_adapter.rb:679:in `select' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/base.rb:470:in `find_by_sql' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/relation.rb:111:in `to_a' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/relation.rb:129:in `to_a' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/relation/finder_methods.rb:376:in `find_first' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/relation/finder_methods.rb:122:in `first' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/relation/finder_methods.rb:263:in `find_by_attributes' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/base.rb:1063:in `method_missing' | |
/home/krishna/oDesk/yutongo/db/seeds.rb:19:in `<top (required)>' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `load' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `block in load' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `load' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.3/lib/rails/engine.rb:488:in `load_seed' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.1.3/lib/active_record/railties/databases.rake:301:in `block (2 levels) in <top (required)>' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval' | |
/home/krishna/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>' | |
Tasks: TOP => db:setup => db:seed | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment