icreated a table in migration and given a column_name as :name, but it not
created in schema, so how to add the column name in that existing...
manish@manish:~/workspace/depot$ rake db:migrate rake aborted! Multiple
migrations have the name CreateUsers
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/migration.rb:608:in
block in migrations'
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/migration.rb:600:inmap'
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/migration.rb:600:in
migrations'
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/migration.rb:701:inmigrations'
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/migration.rb:656:in
migrate'
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/migration.rb:549:inup'
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/migration.rb:530:in
migrate'
/home/manish/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.1.3/lib/active_record/railties/databases.rake:161:inblock
(2 levels) in '
/home/manish/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in eval'
/home/manish/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in'
Tasks: TOP => db:migrate (See full trace by running task with --trace)
No comments:
Post a Comment