1
rake db:migrate
(in /home/pal/project/sprint-19)
DEPRECATION WARNING: require "activerecord" is deprecated and will be removed in Rails 3. Use require "active_record" instead. (called from /usr/lib/ruby/vendor_ruby/activerecord.rb:2)
DEPRECATION WARNING: "Rails.root/test/mocks/development" won't be added automatically to load paths anymore in future releases. (called from /home/pal/project/new-sprint/sprint-19/config/application.rb:51)
DEPRECATION WARNING: Rake tasks in /home/pal/project/new-sprint/sprint-19/vendor/plugins/authorization/tasks/authorization_tasks.rake are deprecated. Use lib/tasks instead. (called from /home/pa/project/new-sprint/sprint-19/Rakefile:7)
DEPRECATION WARNING: Rake tasks in /home/pal/project/new-sprint/sprint-19/vendor/plugins/chartdirector/tasks/chartdirector_tasks.rake are deprecated. Use lib/tasks instead. (called from /home/pal/project/new-sprint/sprint-19/Rakefile:7)
DEPRECATION WARNING: Rake tasks in /home/pal/project/new-sprint/sprint-19/vendor/plugins/headliner/tasks/headliner_tasks.rake are deprecated. Use lib/tasks instead. (called from /home/pal/project/new-sprint/sprint-19/Rakefile:7)
DEPRECATION WARNING: Rake tasks in /home/pal/project/new-sprint/sprint-19/vendor/plugins/open_flash_chart/tasks/open_flash_chart_tasks.rake are deprecated. Use lib/tasks instead. (called from /home/pal/project/new-sprint/sprint-19/Rakefile:7)
DEPRECATION WARNING: Rake tasks in /home/pal/project/new-sprint/sprint-19/vendor/plugins/rails_indexes/tasks/indexer.rake are deprecated. Use lib/tasks instead. (called from /home/pal/project/new-sprint/sprint-19/Rakefile:7)
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from join at /home/pal/project/new-sprint/sprint-19/lib/tasks/helpers.rb:15)
rake aborted!
Table 'connect_production_new.settings' doesn't exist
J'ai essayé avec MySQL et Postgres mais cela ne fait que lancer cette erreur pour MySQL.rake db: migrate ne fonctionne pas
Votre migration essaie de faire quelque chose avec une table qui n'existe pas encore. Veuillez ajouter vos migrations à la question si vous souhaitez une réponse plus détaillée. – Mischa
J'ai près d'environ 100 fichier de migration et c'est mes premiers moyens de migration j'ai créé une nouvelle base de données et maintenant je fais tring pour faire la migration – SSP
Eh bien, le message d'erreur est clair n'est-ce pas? 'Table 'connect_production_new.settings' n'existe pas 'Cela signifie qu'une de vos migrations essaie d'utiliser une table qui n'existe pas encore. Je ne pense pas que n'importe qui peut vous aider si vous publiez seulement l'erreur, mais pas votre code. – Mischa